Last active
January 15, 2016 02:43
-
-
Save sbruner/185e8e057412d25e1299 to your computer and use it in GitHub Desktop.
Piklist: custom field
This file contains hidden or 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
<?php | |
piklist('field', array( | |
'type' => 'my-checkbox', // custom field type | |
'field' => 'custom-checkbox', | |
'label' => 'Custom Select Field', | |
'choices' => array( | |
'first' => 'First Choice', | |
'second' => 'Second Choice', | |
'third' => 'Third Choice' | |
) | |
)); | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment