Created
January 16, 2013 00:43
-
-
Save soderlind-gist/4543616 to your computer and use it in GitHub Desktop.
piklist:datepicker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
piklist( 'field', array( | |
'type' => 'datepicker' | |
, 'scope' => 'post_meta' // Not used for settings sections | |
, 'field' => 'field_name' | |
, 'label' => 'Example Field' | |
, 'description' => 'Click in box' | |
, 'attributes' => array( | |
'class' => 'text' | |
) | |
, 'options' => array( | |
'dateFormat' => 'M d, yy' | |
, 'firstDay' => '0' | |
) | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment