apply_filters( 'bp_core_user_get_specific_users_count_sql', string $sql , array $user_ids , int|null $limit , int $page , bool $populate_extras )
Filter the SQL string used for querying specific user count results.
Description Description
Use this instead of the deprecated ‘bp_core_get_specific_users_count_sql’.
Parameters Parameters
- $sql
-
SQL string.
- $user_ids
-
Array of IDs of specific users to fetch.
- $limit
-
Max number of records to return. Null for no limit.
- $page
-
The page we're on for pagination.
- $populate_extras
-
Whether to populate extra user fields.
Source Source
File: bp-core/classes/class-bp-core-user.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |