Created
November 23, 2011 05:58
-
-
Save cmcculloh/1387990 to your computer and use it in GitHub Desktop.
register fields
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
//you can have as many of these as you want... | |
your_prefix_register_field('field_id', 'field label', 'dashboard page', 'section_id', array('callback', 'params', 'can', 'go', 'here')); | |
your_prefix_register_field('field_id2', 'field label', 'dashboard page', 'section_id'); | |
your_prefix_register_field('field_id3', 'field label', 'dashboard page', 'section_id'); | |
your_prefix_register_field('field_ida', 'field label', 'dashboard page', 'section_id'); | |
your_prefix_register_field('field_idz', 'field label', 'dashboard page', 'section_id'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment