modules/custom-css/custom-css.php 1 location
|
@@ 1348-1355 (lines=8) @@
|
1345 |
|
if ( ! $css ) |
1346 |
|
return ''; |
1347 |
|
|
1348 |
|
if ( $preprocessor ) { |
1349 |
|
/** This filter is documented in modules/custom-css/custom-css.php */ |
1350 |
|
$preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); |
1351 |
|
|
1352 |
|
if ( isset( $preprocessors[$preprocessor] ) ) { |
1353 |
|
$css = call_user_func( $preprocessors[$preprocessor]['callback'], $css ); |
1354 |
|
} |
1355 |
|
} |
1356 |
|
|
1357 |
|
safecss_class(); |
1358 |
|
$csstidy = new csstidy(); |
modules/custom-css/custom-css-4.7.php 1 location
|
@@ 860-863 (lines=4) @@
|
857 |
|
return $args; |
858 |
|
} |
859 |
|
|
860 |
|
if ( isset( $preprocessors[ $preprocessor ] ) ) { |
861 |
|
$args['post_content_filtered'] = $css; |
862 |
|
$args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); |
863 |
|
} |
864 |
|
|
865 |
|
return $args; |
866 |
|
} |