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

A WYSIWYG editor field.

WYSIWYG Field

Args

  • id (string) (required)
  • type 'wysiwyg' (string) (required)
  • args (array) wp_editor args.
  • repeatable (bool)
  • cols (int) [1-12]

Example Usage

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