[ Index ]

PHP Cross Reference of BuddyPress




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

Core component classes.

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

Defines 3 functions


Functions that are not part of a class:

__construct( array $args = array()   X-Ref

param: array $args Optional. If set, used as the parameters for the suggestions service query.
since: 2.1.0

set_query( array $args = array()   X-Ref
Set the parameters for the suggestions service query.

param: array $args {
since: 2.1.0

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

Be sure to call this class' version of this method when implementing it in your own service.
If validation fails, you must return a WP_Error object.

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

Generated: Thu May 30 01:01:06 2024 Cross-referenced by PHPXref 0.7.1