editor_stylesheets filter-hook . WP 4.3.0
Filters the array of URLs of stylesheets applied to the editor.
Usage
add_filter( 'editor_stylesheets', 'filter_function_name_3008' ); function filter_function_name_3008( $stylesheets ){ // filter... return $stylesheets; }
- $stylesheets(string[])
- Array of URLs of stylesheets to be applied to the editor.
Changelog
Since 4.3.0 | Introduced. |
Where the hook is called
editor_stylesheets
wp-includes/theme.php 2134
return apply_filters( 'editor_stylesheets', $stylesheets );