[ 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

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

bbp_get_search_query_args()   X-Ref
Return the search query args

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

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

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

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

return: array
since: 2.6.0 bbPress (r6903)

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.

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



Generated: Sat May 18 01:00:57 2024 Cross-referenced by PHPXref 0.7.1