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

A single checkbox field.

checkbox

Args

Required Args

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

Optional Generic Args

See Optional Generic Args

Example Usage

array( 
	'id'   => 'example-field-checkbox', 
	'name' => 'Checkbox label', 
	'type' => 'checkbox', 
),