Nov 14, 2020 7:09 pm
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 );
1 Reply
Nov 16, 2020 10:59 am
Hi @comments,
you should use the WordPress native (core) get_comment_meta function.