modules/custom-css/custom-css-4.7.php 1 location
|
@@ 895-898 (lines=4) @@
|
| 892 |
|
return $args; |
| 893 |
|
} |
| 894 |
|
|
| 895 |
|
if ( isset( $preprocessors[ $preprocessor ] ) ) { |
| 896 |
|
$args['post_content_filtered'] = $css; |
| 897 |
|
$args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); |
| 898 |
|
} |
| 899 |
|
|
| 900 |
|
return $args; |
| 901 |
|
} |
modules/custom-css/custom-css.php 1 location
|
@@ 1361-1368 (lines=8) @@
|
| 1358 |
|
if ( ! $css ) |
| 1359 |
|
return ''; |
| 1360 |
|
|
| 1361 |
|
if ( $preprocessor ) { |
| 1362 |
|
/** This filter is documented in modules/custom-css/custom-css.php */ |
| 1363 |
|
$preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); |
| 1364 |
|
|
| 1365 |
|
if ( isset( $preprocessors[$preprocessor] ) ) { |
| 1366 |
|
$css = call_user_func( $preprocessors[$preprocessor]['callback'], $css ); |
| 1367 |
|
} |
| 1368 |
|
} |
| 1369 |
|
|
| 1370 |
|
safecss_class(); |
| 1371 |
|
$csstidy = new csstidy(); |