Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: bp_get_total_site_member_count() not working?

@shanebp

Moderator

Try fixing the code first.
Should be:

function register_shortcodes() {
	add_shortcode('member_count', 'show_number_of_members'); // fixed
	add_shortcode( 'postcount', 'post_count_function' );
}

add_action('init', 'register_shortcodes');  // fixed
Skip to toolbar