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.


Top ↑

Source Source

File: bp-core/classes/class-bp-core-user.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.