su/assets/custom_css

The Shortcodes Ultimate su assets custom css hook.

Description

apply_filters( 'su/assets/custom_css', $str_replace ); 

Parameters (1)

0. $str_replace
The str replace.

Usage

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

Defined (1)

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

/inc/core/assets.php  
  1. $custom_css = apply_filters( 'su/assets/custom_css', str_replace( ''', '\'', html_entity_decode( (string) get_option( 'su_option_custom-css' ) ) ) );