Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_get_total_member_count filter doesn’t work

  • Profile photo of al3as06
    al3as06
    Participant

    @al3as06

    Hi, I have to recount the members with this filter in function.php :

    // Admin is removed, we must recount the members
    function bpfr_hide_get_total_filter($count){
        return $count-1;
    }
    add_filter('bp_get_total_member_count','bpfr_hide_get_total_filter');

    There are 1 500 members (with admin), with this filter the counter should display 1 499 but it display 0, don’t understand why at all…

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar