Get pluginBuy

Editor

Editor field allows you to save data with HTML tags. Usage:

array(
	'id' => 'my_editor',
	'label' => 'Label',
	'type' => 'editor',
)

Parameters

Name Description
id (String) Field id. Required.
label (String) Field label. Required.
default (String) Default predefined value.
description (String) Some text or HTML that will be displayed after the field.
textarea_rows (Int) Textarea rows. Defaults to 5.
show_if (Array) You can display this field conditionally. In order to do that pass id key and value key with an id and value of any other checkbox, select or radio field the current field should depend on. Read more about conditional logic.