Search
Close
AI Search
Classic Search
Notifications
Clear all
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Hi - We purchased several of your AddOns - Great Vendor, Great Products.
Now we need to add a custom "hook" when a comment is submitted to the database. Normally this should work with no problem, but for some reason our hook below is not firing.
Our hook code is very simple:
--
add_action( 'comment_post', 'comment_post_verify_avatar', 10, 2 );
--
Is there any reason why this standard WP Code Hook would not work with wpDiscuz?
Posted : 24/09/2020 7:22 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Hi @soft-designs,
You can use the wpdiscuz_after_comment_post hook, however the comment_post WordPress hook also should work fine.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Posted : 25/09/2020 11:55 am

