Skip to content
mattheu edited this page Apr 23, 2013 · 19 revisions

A WYSIWYG editor field.

WYSIWYG Field

Args

  • id (string) (required)
  • type 'wysiwyg' (string) (required)
  • options (array) wp_editor settings. See WordPress codex.
  • repeatable (bool)
  • cols (int) [1-12]

Example Usage

array( 
	'id'   => 'example-field-wysiwyg', 
	'name' => 'A WYSIWYG editor field', 
	'type' => 'wysiwyg', 
),