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
|
@@ 805-808 (lines=4) @@
|
| 802 |
|
return $args; |
| 803 |
|
} |
| 804 |
|
|
| 805 |
|
if ( isset( $preprocessors[ $preprocessor ] ) ) { |
| 806 |
|
$args['post_content_filtered'] = $css; |
| 807 |
|
$args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); |
| 808 |
|
} |
| 809 |
|
|
| 810 |
|
return $args; |
| 811 |
|
} |