Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action('admin_init','profile_meta_boxes');
- function profile_meta_boxes() {
- $fields = array(
- 'id' => 'profile_data_box_1',
- 'title' => 'Fields',
- 'desc' => '',
- 'pages' => array('profile'),
- 'context' => 'normal',
- 'priority' => 'low',
- 'fields' => array(
- array(
- 'id' => 'example_text',
- 'label' => 'Example Text Field',
- 'type' => 'text',
- 'std' => '',
- ),
- )
- );
- ot_register_meta_box($fields);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement