[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/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):
  validate()
  get_suggestions()


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.

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

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

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



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1