WordPress add_editor_style()

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

The function allows user to load stylesheets for the TinyMCE editor

Syntax

  • add_editor_style( $stylesheet )

Parameters

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


Got any WordPress Question?