text Field

'type' => 'text'

  piklist('field', array(
    'type' => 'text',
    'field' => 'my_text',
    'label' => 'Text',
    'attributes' => array(
      'class' => 'regular-text' // WordPress css class
    )
  ));

Have ideas for improving the documentation?

This documentation is a community effort. Please create an issue or pull request to help!

Improve this page