bbp_get_total_users

bbp_get_total_users

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_total_users') is found 1 times:

  • /includes/core/abstraction.php line 360
    	$bbp_db = bbp_db();
    	$count  = $bbp_db->get_var( "SELECT COUNT(ID) as c FROM {$bbp_db->users} WHERE user_status = '0'" );
    
    	// Filter & return
    	return (int) apply_filters( 'bbp_get_total_users', (int) $count );
    }
    
    /**
     * Switch to a site in a multisite installation.
     *
     * If not a multisite installation, no switching will occur.