mycred_count_ref_instances not working accordingly?
-
Gabriel,
Has
mycred_count_ref_instances()
stopped working with the new version of myCRED?For instance, this code does not work anymore:
<?php $count = mycred_count_ref_instances( 'approved_comments', $userID ); echo $count; ?>
I am trying to get the count for the user’s approved comments. Am I doing something wrong?
It always returns with zero even when there are logs for approved_comments.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘mycred_count_ref_instances not working accordingly?’ is closed to new replies.