bboss_ajax_search_form

The BuddyPress Global Search bboss ajax search form shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[bboss_ajax_search_form]'); 
  1. // variable usage 
  2. $result = do_shortcode('[bboss_ajax_search_form]'); 
  3. echo $result;  

Defined (1)

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

/includes/functions.php  
  1. // Exit if accessed directly 
  2. if (!defined('ABSPATH')) 
  3. exit; 
  4.  
  5. //add shortcode support 
  6. add_shortcode( 'BBOSS_AJAX_SEARCH_FORM', 'buddyboss_global_search_ajax_search_form_shortcode' ); 
  7. function buddyboss_global_search_ajax_search_form_shortcode( $atts ) { 
  8. return buddyboss_global_search_buffer_template_part( 'ajax-search-form', '', false ); 
  9.  
  10. /**