su/assets/css

The Shortcodes Ultimate su assets css hook.

Description

apply_filters( 'su/assets/css', $array_array_unique_assets_css ); 

Parameters (1)

0. $array_array_unique_assets_css
The array array unique assets css.

Usage

To run the hook, copy the example below.
  1. $array_array_unique_assets_css = apply_filters( 'su/assets/css', $array_array_unique_assets_css ); 
  2.  
  3. if ( !empty( $array_array_unique_assets_css ) ) { 
  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/css callback 
  2. function filter_su_assets_css( $array_array_unique_assets_css ) { 
  3. // make filter magic happen here... 
  4. return $array_array_unique_assets_css
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'su/assets/css', 'filter_su_assets_css', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'su/assets/css', 'filter_su_assets_css', 10, 1 ); 

Defined (1)

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

/inc/core/assets.php  
  1. $assets['css'] = array_unique( (array) apply_filters( 'su/assets/css', (array) array_unique( $assets['css'] ) ) );