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
|
@@ 824-827 (lines=4) @@
|
821 |
|
return $args; |
822 |
|
} |
823 |
|
|
824 |
|
if ( isset( $preprocessors[ $preprocessor ] ) ) { |
825 |
|
$args['post_content_filtered'] = $css; |
826 |
|
$args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); |
827 |
|
} |
828 |
|
|
829 |
|
return $args; |
830 |
|
} |