<plugin_name>_border_styles

The WooCommerce Predictive Search LITE plugin name border styles hook.

Description

apply_filters( '<plugin_name>_border_styles', (unknown) $border_styles ); 

Parameters (1)

0. $border_styles (unknown)
The border styles.

Usage

To run the hook, copy the example below.
  1. $border_styles = apply_filters( '{$plugin_name}_border_styles', $border_styles ); 
  2.  
  3. if ( !empty( $border_styles ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the <plugin_name>_border_styles callback 
  2. function filter_plugin_name_border_styles( $border_styles ) { 
  3. // make filter magic happen here... 
  4. return $border_styles
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( "{$plugin_name}_border_styles", 'filter_plugin_name_border_styles', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( "{$plugin_name}_border_styles", 'filter_plugin_name_border_styles', 10, 1 ); 

Defined (1)

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

/admin/admin-interface.php  
  1. return apply_filters( $this->plugin_name . '_border_styles', $border_styles );