[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/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

  bbp_search_query()
  bbp_get_search_query_args()
  bbp_search_results_redirect()
  bbp_get_search_type_ids()
  bbp_sanitize_search_request()

Functions
Functions that are not part of a class:

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

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

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.

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



Generated: Thu Mar 28 01:00:51 2024 Cross-referenced by PHPXref 0.7.1