[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-friends/ -> bp-friends-filters.php (summary)

BuddyPress Friend Filters.

File Size: 82 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  bp_friends_filter_user_query_populate_extras()
  bp_friends_register_personal_data_exporters()

Functions
Functions that are not part of a class:

bp_friends_filter_user_query_populate_extras( $user_query, $user_ids_sql )   X-Ref
Filter BP_User_Query::populate_extras to add confirmed friendship status.

Each member in the user query is checked for confirmed friendship status
against the logged-in user.

param: BP_User_Query $user_query   The BP_User_Query object.
param: string        $user_ids_sql Comma-separated list of user IDs to fetch extra
since: 1.7.0

bp_friends_register_personal_data_exporters( $exporters )   X-Ref
Registers Friends personal data exporter.

param: array $exporters  An array of personal data exporters.
since: 4.0.0
since: 5.0.0 adds an `exporter_bp_friendly_name` param to exporters.
return: array An array of personal data exporters.



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1