bboss_global_search_settings_items_to_search

Use the action below to add more things in the list of searchable items.

Description

do_action( 'bboss_global_search_settings_items_to_search', (unknown) $items_to_search ); 

This will just print those new items in admin section. You'll have hook into other actions/filters to actually perform the 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_items_to_search', $items_to_search ); 
The following example is for adding a hook callback.
  1. // define the bboss_global_search_settings_items_to_search callback 
  2. function action_bboss_global_search_settings_items_to_search( $items_to_search ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'bboss_global_search_settings_items_to_search', 'action_bboss_global_search_settings_items_to_search', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'bboss_global_search_settings_items_to_search', 'action_bboss_global_search_settings_items_to_search', 10, 1 ); 

Defined (1)

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

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