The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Custom Code Hook - ...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Custom Code Hook - comment_post

2 Posts
2 Users
0 Reactions
2,403 Views
Posts: 9
Topic starter
(@soft-designs)
Active Member
Joined: 5 years ago

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?

1 Reply
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

Hi @soft-designs,

You can use the wpdiscuz_after_comment_post hook, however the comment_post WordPress hook also should work fine.Β 

Reply
Share: