- Timestamp:
- 09/27/2015 05:25:02 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-groups-member-suggestions.php
r9906 r10148 7 7 */ 8 8 9 // Exit if accessed directly 9 // Exit if accessed directly. 10 10 defined( 'ABSPATH' ) || exit; 11 11 … … 13 13 * Adds support for user at-mentions (for users in a specific Group) to the Suggestions API. 14 14 * 15 * @since BuddyPress (2.1.0)15 * @since 2.1.0 16 16 */ 17 17 class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { … … 20 20 * Default arguments for this suggestions service. 21 21 * 22 * @since BuddyPress (2.1.0)22 * @since 2.1.0 23 23 * @access protected 24 24 * @var array $args { … … 43 43 * Validate and sanitise the parameters for the suggestion service query. 44 44 * 45 * @since BuddyPress (2.1.0)45 * @since 2.1.0 46 46 * 47 47 * @return true|WP_Error If validation fails, return a WP_Error object. On success, return true (bool). … … 53 53 * Filters the arguments used to validate and sanitize suggestion service query. 54 54 * 55 * @since BuddyPress (2.1.0)55 * @since 2.1.0 56 56 * 57 57 * @param array $args Array of arguments for the suggestion service query. … … 78 78 * Filters the validation results for the suggestion service query. 79 79 * 80 * @since BuddyPress (2.1.0)80 * @since 2.1.0 81 81 * 82 82 * @param bool|WP_Error $value True if valid, WP_Error if not. … … 89 89 * Find and return a list of username suggestions that match the query. 90 90 * 91 * @since BuddyPress (2.1.0)91 * @since 2.1.0 92 92 * 93 93 * @return array|WP_Error Array of results. If there were problems, returns a WP_Error object. … … 138 138 * Filters the arguments for the user query for the Suggestion API. 139 139 * 140 * @since BuddyPress (2.1.0)140 * @since 2.1.0 141 141 * 142 142 * @param array $user_query Array of arguments for the query. … … 168 168 * Filters the results of the member suggestions user query. 169 169 * 170 * @since BuddyPress (2.1.0)170 * @since 2.1.0 171 171 * 172 172 * @param array $results Array of member suggestions.
Note: See TracChangeset
for help on using the changeset viewer.