editor_stylesheets WordPress Filter Hook
The editor_stylesheets hook allows you to add custom stylesheets to the WordPress editor. This can be useful if you want to create a custom look for your content, or if you need to override some of the default styles.
apply_filters( 'editor_stylesheets', string[] $stylesheets ) #
Filters the array of URLs of stylesheets applied to the editor.
Parameters
- $stylesheets
(string[])Array of URLs of stylesheets to be applied to the editor.
Source
File: wp-includes/theme.php
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |