Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $meta_boxes[] = array(
- 'id' => 'coupon',
- 'title' => 'Offer Code',
- 'pages' => array('post', 'link'), // multiple post types, accept custom post types
- 'context' => 'normal', // normal, advanced, side (optional)
- 'priority' => 'high', // high, low (optional)
- 'fields' => array(
- array(
- 'name' => 'Offer Code',
- 'desc' => 'Enter offer code text here',
- 'id' => $prefix . 'code',
- 'type' => 'textarea' // text area
- ),
- array(
- 'name' => 'Expiration Date',
- 'desc' => 'Enter date here (Month 01, 2011)',
- 'id' => $prefix . 'expidate',
- 'type' => 'text'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement