remove_editor_styles()
Removes all visual editor stylesheets.
Description Description
Return Return
(bool) True on success, false if there were no stylesheets to remove.
Source Source
File: wp-includes/theme.php
function remove_editor_styles() { if ( ! current_theme_supports( 'editor-style' ) ) { return false; } _remove_theme_support( 'editor-style' ); if ( is_admin() ) { $GLOBALS['editor_styles'] = array(); } return true; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |