apply_filters( 'bp_use_legacy_user_query', bool $retval , string $function , array $r )
For legacy users. Use of BP_Core_User::get_users() is deprecated.
Description Description
Forcing this filter to true will use the legacy user query. As of BuddyPress 7.0.0, mirroring of the ‘last_activity’ value to usermeta is also disabled if true. See bp_update_user_last_activity().
Parameters Parameters
- $retval
-
Defaults to false.
- $function
-
Current function name.
- $r
-
User query arguments.
Source Source
File: bp-members/bp-members-functions.php
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |