Create Hooks – Tagging and Voting
Quote from lwolf on November 9, 2017, 2:24 amHello – I would like to add tagging and voting or rating functionality, and I understand that you have these hooks:
asgarosforum_after_post_message
asgarosforum_filter_post_content
However, I am not a PHP developer and cannot write code. Can you please let me know how to use these and what files to put them into so they work? Do they go in your plugin? Which file?
Or if I am using another plugin to work with yours, does the hook go into their plugin somewhere? I believe the PHP instructions have to be in the same file as the add_action or ad_filter command. Is this correct?
Can you please provide an example of how to code these?
Thank you.
Hello – I would like to add tagging and voting or rating functionality, and I understand that you have these hooks:
asgarosforum_after_post_message
asgarosforum_filter_post_content
However, I am not a PHP developer and cannot write code. Can you please let me know how to use these and what files to put them into so they work? Do they go in your plugin? Which file?
Or if I am using another plugin to work with yours, does the hook go into their plugin somewhere? I believe the PHP instructions have to be in the same file as the add_action or ad_filter command. Is this correct?
Can you please provide an example of how to code these?
Thank you.
Quote from Asgaros on November 10, 2017, 7:26 pmHello lwolf,
you can use this filter to add your own logic. Without coding it is not possible such a functionality which does not exist in the core of the plugin yet. The best place to add the modifications would be your themes functions.php file. For some examples on how to integrate this you can have a look at this topic:
Hello lwolf,
you can use this filter to add your own logic. Without coding it is not possible such a functionality which does not exist in the core of the plugin yet. The best place to add the modifications would be your themes functions.php file. For some examples on how to integrate this you can have a look at this topic: