modules/custom-css/custom-css.php 1 location
|
@@ 1338-1345 (lines=8) @@
|
1335 |
|
if ( ! $css ) |
1336 |
|
return ''; |
1337 |
|
|
1338 |
|
if ( $preprocessor ) { |
1339 |
|
/** This filter is documented in modules/custom-css/custom-css.php */ |
1340 |
|
$preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); |
1341 |
|
|
1342 |
|
if ( isset( $preprocessors[$preprocessor] ) ) { |
1343 |
|
$css = call_user_func( $preprocessors[$preprocessor]['callback'], $css ); |
1344 |
|
} |
1345 |
|
} |
1346 |
|
|
1347 |
|
safecss_class(); |
1348 |
|
$csstidy = new csstidy(); |
modules/custom-css/custom-css-4.7.php 1 location
|
@@ 890-893 (lines=4) @@
|
887 |
|
return $args; |
888 |
|
} |
889 |
|
|
890 |
|
if ( isset( $preprocessors[ $preprocessor ] ) ) { |
891 |
|
$args['post_content_filtered'] = $css; |
892 |
|
$args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); |
893 |
|
} |
894 |
|
|
895 |
|
return $args; |
896 |
|
} |