Count voice issued . Please help
-
Hello,
I used this code for clear Topic info. To show topic is not supported yet, only creater topic voices in current. I checked code was correct, but it did not work, anyone can help please?
function none_people_discuss() {
$voice_count = bbp_get_topic_voice_count();if ( $voice_count = 1 )
echo ‘<span class=”no_support”>[No support]</span>’;
}add_action( ‘bbp_theme_before_topic_title’, ‘ none_people_discuss’ );
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.