daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. add_action('admin_init','profile_meta_boxes');
  3. function profile_meta_boxes() {
  4.     $fields = array(
  5.         'id'          => 'profile_data_box_1',
  6.         'title'       => 'Fields',
  7.         'desc'        => '',
  8.         'pages'       => array('profile'),
  9.         'context'     => 'normal',
  10.         'priority'    => 'low',
  11.         'fields'      => array(
  12.             array(
  13.                 'id'          => 'example_text',
  14.                 'label'       => 'Example Text Field',
  15.                 'type'        => 'text',
  16.                 'std'         => '',
  17.             ),
  18.         )
  19.     );
  20.     ot_register_meta_box($fields);
  21. }
  22. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top