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
-
(bool) Defaults to false.
- $function
-
(string) Current function name.
- $r
-
(array) User query arguments.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |