[ Index ]

PHP Cross Reference of BBPress




/src/includes/search/ -> functions.php (summary)

bbPress Search Functions

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

Defines 5 functions


Functions that are not part of a class:

bbp_search_query( $new_args = array()   X-Ref
Run the search query

since: 2.3.0 bbPress (r4579)
return: bool False if no results, otherwise if search results are there
param: mixed $new_args New arguments

bbp_get_search_query_args()   X-Ref
Return the search query args

since: 2.3.0 bbPress (r4579)
return: array Query arguments

bbp_search_results_redirect()   X-Ref
Redirect to search results page if needed

since: 2.4.0 bbPress (r4928)
return: If a redirect is not needed

bbp_get_search_type_ids()   X-Ref
Return an array of search types

since: 2.6.0 bbPress (r6903)
return: array

bbp_sanitize_search_request( $query_arg = 's' )   X-Ref
Sanitize a query argument used to pass some search terms.

Accepts a single parameter to be used for forums, topics, or replies.

since: 2.6.0 bbPress (r6903)
return: mixed
param: string $query_arg s|fs|ts|rs

Generated: Tue Feb 27 01:00:56 2024 Cross-referenced by PHPXref 0.7.1