wc_ps_symbol_entities

WooCommerce Predictive Search Functions.

Description

apply_filters( 'wc_ps_symbol_entities', (unknown) $symbol_entities ); 

Class Function into woocommerce plugin

Table Of Contents

woops_limit_words() create_page() create_page_wpml() auto_create_page_for_wpml() strip_shortcodes()

Parameters (1)

0. $symbol_entities (unknown)
The symbol entities.

Usage

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

Defined (1)

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

/classes/class-wc-predictive-search-functions.php  
  1. return apply_filters( 'wc_ps_symbol_entities', $symbol_entities );