I set some regular metam against specific comments for users using this function: add_comment_meta( $wp_comment_id, 'accepted', true );
What I want to do is to show each user their profile / author / username, how many of these special comments they have, for example, if the user made 20 comments and 5 had this metadata accepted equal to true, then the value will be 5 .
How can i do this? Thank.
source
share