Documentation: Text Field

Field Example:

Field Description

 

Code:

<?php
piklist('field', array(
 'type' => 'text'
 ,'scope' => 'post_meta' // Not used for settings sections
 ,'field' => 'field_name'
 ,'label' => 'Example Field'
 ,'description' => 'Field Description'
 ,'attributes' => array(
   'class' => 'text'
 )
 ));
?>