bboss_global_search_settings_item_<item>

The BuddyPress Global Search bboss global search settings item hook.

Description

do_action( 'bboss_global_search_settings_item_<item>', (unknown) $items_to_search ); 

Parameters (1)

0. $items_to_search (unknown)
The items to search.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'bboss_global_search_settings_item_{$item}', $items_to_search ); 
The following example is for adding a hook callback.
  1. // define the bboss_global_search_settings_item_<item> callback 
  2. function action_bboss_global_search_settings_item_item( $items_to_search ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "bboss_global_search_settings_item_{$item}", 'action_bboss_global_search_settings_item_item', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "bboss_global_search_settings_item_{$item}", 'action_bboss_global_search_settings_item_item', 10, 1 ); 

Defined (1)

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

/includes/admin.php  
  1. do_action( 'bboss_global_search_settings_item_'.$item, $items_to_search );