A WYSIWYG Editor field can be inserted in:
- an Admin Page, as an option or a user_meta
- a User Profile, as a user_meta
- a Metabox, as a post_meta
The code below is used to generate this section in an Admin Page, for an option:
Copy to Clipboard
A WYSIWYG Editor inherit from a Field, and an Item, then all settings described in Field Settings and Item Settings are also used.
Specific settings for WYSIWYG Editor:
WYSIWYG Editor Settings | Description |
---|---|
editor_settings array / Default: array() |
WP_Editors settings, see https://developer.wordpress.org/reference/classes/_wp_editors/parse_settings/ |