bbp_search_terms

Output the search terms.

Description

bbp_search_terms( (string) $search_terms = '' ); 

Parameters (1)

0. $search_terms — Optional. (string) => ''
Search terms

Usage

  1. if ( !function_exists( 'bbp_search_terms' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/search/template.php'; 
  3.  
  4. // Optional. Search terms 
  5. $search_terms = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_search_terms($search_terms); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/search/template.php  
  1. function bbp_search_terms( $search_terms = '' ) { 
  2. echo bbp_get_search_terms( $search_terms );