Created
October 20, 2012 15:40
-
-
Save bonny/3923633 to your computer and use it in GitHub Desktop.
Dropdown Field, Extended Return Values
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
Array | |
( | |
[selected_value] => Dropdown 2 | |
[selected_option] => Array | |
( | |
[value] => Dropdown 2 | |
[key] => dropdown_num_3 | |
[is_selected] => 1 | |
) | |
[options] => Array | |
( | |
[0] => Array | |
( | |
[value] => Dropdown 1 | |
[key] => dropdown_num_2 | |
[is_selected] => | |
) | |
[1] => Array | |
( | |
[value] => Dropdown 2 | |
[key] => dropdown_num_3 | |
[is_selected] => 1 | |
) | |
[2] => Array | |
( | |
[value] => Dropdown 3 | |
[key] => dropdown_num_4 | |
[is_selected] => | |
) | |
) | |
) |
Can i use this code create custom field in wordpress?
No, this is old example return values from a plugin that is no longer in development.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can i use this code create custom field in wordpress?