The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
AI Assistant
wp_discuz_after_com...
 
Notifications
Clear all

wp_discuz_after_comment_post

2 Posts
2 Users
0 Reactions
1,465 Views
(@comments)
Posts: 1
New Member
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
 
[#1322]

Inside the wp_discuz_after_comment_post hook, how do I get the value of the meta field? 

add_action( 'wpdiscuz_after_comment_post', function ( $id, $comment ) {

// how to get value of custom meta field?

}, 10, 2 );

 
Posted : 14/11/2020 11:09 pm
Asti
 Asti
(@asti)
Posts: 8284
Illustrious Member Support
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 @comments,

you should use the WordPress native (core) get_comment_meta function. 


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 : 16/11/2020 2:59 pm