Skip to content
ajitbohra edited this page Dec 1, 2014 · 9 revisions

A textarea field

textarea

Args

Required Args

  • id (string) (required)
  • name (string) (required) Field display name. Used as field label.
  • type 'textarea' (string) (required)

Field Specific Args

  • rows (int) (optional) - The amount of rows the textarea should have - used to adjust the height.

Optional Generic Args

See Optional Generic Args

Example Usage

array( 
	'id'   => 'example-field-textarea', 
	'name' => 'A textarea field', 
	'type' => 'textarea',
	'rows' => 6,
)