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.


Top ↑

Source

File: wp-includes/theme.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More