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().


Top ↑

Parameters Parameters

$retval

(bool) Defaults to false.

$function

(string) Current function name.

$r

(array) User query arguments.


Source Source

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

View on Trac



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.