Skip to content

Instantly share code, notes, and snippets.

@cmcculloh
Created November 23, 2011 05:58
Show Gist options
  • Save cmcculloh/1387990 to your computer and use it in GitHub Desktop.
Save cmcculloh/1387990 to your computer and use it in GitHub Desktop.
register fields
//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