Created
March 17, 2015 09:12
-
-
Save gwin/bdbe131894dc6266b199 to your computer and use it in GitHub Desktop.
Form Callback Function
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
<?php | |
/** | |
* Example callback function for filling <select> fields | |
* | |
* @retuen array | |
**/ | |
function my_callback_function() { | |
return array( | |
array("key"=> "1", "value"=>"One", "description"=>"One"), | |
array("key"=> "2", "value"=>"Two", "description"=>"Two"), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment