Changeset 9731 for trunk/src/bp-core/classes/class-bp-suggestions.php
- Timestamp:
- 04/10/2015 12:52:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-suggestions.php
r9486 r9731 93 93 $this->args['limit'] = absint( $this->args['limit'] ); 94 94 $this->args['term'] = trim( sanitize_text_field( $this->args['term'] ) ); 95 96 /** 97 * Filters the arguments to be validated for the BP_Suggestions query. 98 * 99 * @since BuddyPress (2.1.0) 100 * 101 * @param BP_Suggestions $value Arguments to be validated. 102 * @param BP_Suggestions $this Current BP_Suggestions instance. 103 */ 95 104 $this->args = apply_filters( 'bp_suggestions_args', $this->args, $this ); 96 97 105 98 106 // Check for invalid or missing mandatory parameters. … … 106 114 } 107 115 116 /** 117 * Filters the status of validation for the BP_Suggestions query. 118 * 119 * @since BuddyPress (2.1.0) 120 * 121 * @param bool $value Whether or not the values are valid. 122 * @param BP_Suggestions $this Current BP_Suggestions instance. 123 */ 108 124 return apply_filters( 'bp_suggestions_validate_args', true, $this ); 109 125 }
Note: See TracChangeset
for help on using the changeset viewer.