hidden Field

'type' => 'hidden'

  piklist('field', array(
   'type' => 'hidden',
   'field' => 'post_id',
   'value' => $post->ID // set the value of this hidden field to the Post ID.
   ));

Have ideas for improving the documentation?

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

Improve this page