WPDev.one
Core Function
View Source on Trac ↗

add_editor_style()

add_editor_style( mixed $stylesheet = 'editor-style.css' )

Adds callback for custom TinyMCE editor stylesheets.

Parameters 1 required

Name / Type Description
mixed

(array | string) $stylesheet Optional. Stylesheet name or array thereof, relative to theme root. Defaults to 'editor-style.css'

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
3.0.0
Source File
wp-includes/theme.php
Advertisement