[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-groups/classes/ -> class-bp-groups-member-suggestions.php (summary)

BuddyPress Groups Classes.

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

Defines 1 class

BP_Groups_Member_Suggestions:: (2 methods):

Class: BP_Groups_Member_Suggestions  - X-Ref

Adds support for user at-mentions (for users in a specific Group) to the Suggestions API.

validate()   X-Ref
Validate and sanitise the parameters for the suggestion service query.

since: 2.1.0
return: true|WP_Error If validation fails, return a WP_Error object. On success, return true (bool).

get_suggestions()   X-Ref
Find and return a list of username suggestions that match the query.

since: 2.1.0
return: array|WP_Error Array of results. If there were problems, returns a WP_Error object.

Generated: Thu Jul 2 01:01:34 2020 Cross-referenced by PHPXref 0.7.1