bbp_get_total_users()
Get the total number of users on the forums
Description Description
Return Return
(int) Total number of users
Source Source
File: includes/core/abstraction.php
function bbp_get_total_users() { $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 ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |