modules/custom-css/custom-css-4.7.php 1 location
|
@@ 905-908 (lines=4) @@
|
| 902 |
|
return $args; |
| 903 |
|
} |
| 904 |
|
|
| 905 |
|
if ( isset( $preprocessors[ $preprocessor ] ) ) { |
| 906 |
|
$args['post_content_filtered'] = $css; |
| 907 |
|
$args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); |
| 908 |
|
} |
| 909 |
|
|
| 910 |
|
return $args; |
| 911 |
|
} |
modules/custom-css/custom-css.php 1 location
|
@@ 1356-1363 (lines=8) @@
|
| 1353 |
|
if ( ! $css ) |
| 1354 |
|
return ''; |
| 1355 |
|
|
| 1356 |
|
if ( $preprocessor ) { |
| 1357 |
|
/** This filter is documented in modules/custom-css/custom-css.php */ |
| 1358 |
|
$preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); |
| 1359 |
|
|
| 1360 |
|
if ( isset( $preprocessors[$preprocessor] ) ) { |
| 1361 |
|
$css = call_user_func( $preprocessors[$preprocessor]['callback'], $css ); |
| 1362 |
|
} |
| 1363 |
|
} |
| 1364 |
|
|
| 1365 |
|
safecss_class(); |
| 1366 |
|
$csstidy = new csstidy(); |