jetpack_custom_css_preprocessors
CSS preprocessor registration.
Description
Parameters (1)
- 0. $array (array) =>
array()
- The array.
Usage
- To run the hook, copy the example below.
- $array = apply_filters( 'jetpack_custom_css_preprocessors', $array );
- if ( !empty( $array ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the jetpack_custom_css_preprocessors callback
- function filter_jetpack_custom_css_preprocessors( $array ) {
- // make filter magic happen here...
- return $array;
- };
- // add the filter
- add_filter( 'jetpack_custom_css_preprocessors', 'filter_jetpack_custom_css_preprocessors', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'jetpack_custom_css_preprocessors', 'filter_jetpack_custom_css_preprocessors', 10, 1 );
Defined (3)
The filter is defined in the following location(s).
- /modules/custom-css/custom-css.php
- $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
- $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );
- $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() );