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.


Top ↑

Source Source

File: bp-members/bp-members-functions.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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