Editor (WYSIWYG)
Editor field renders a WYSIWYG editor. Due to complexities of the field, it does not have the switch between Text and Visual modes.
Example configuration
This will produce something similar to the following
In other words it will look like a WYSIWYG editor from the post page.
Filters
The field uses wp_kses
to sanitize the value before storing it in the database. The following filters can be used to control it.
Name | Description |
Can be used to control which HTML tags are allowed. | |
Can be used to control which protocols are allowed. |
See the filters page for more details.
Params
Name | Type | Description |
| string |
|
| string | Unique ID that will be used to retrieve the value (required) |
| string | Specifies in which tab this option will be rendered |
| string | Shows a heading to the left of the field |
| string | Shows a description text (can have HTML) |
Last updated