Advertisement
Guest User

hide_editor in WPAlchemy

a guest
Apr 27th, 2011
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. $profile_metabox = new WPAlchemy_MetaBox(array
  2. (
  3.     'id' => '_fac',
  4.     'title' => 'Faculty Profile',
  5.     'types' => array('faculty_profile'), // added only for faculty_profile
  6.     'context' => 'normal', // same as above, defaults to "normal"
  7.     'priority' => 'high', // same as above, defaults to "high"
  8.     'template' => STYLESHEETPATH . '/custom/full_meta.php',
  9.     'mode' => WPALCHEMY_MODE_EXTRACT,
  10.     'lock' => 'after_post_title',
  11.     'view' => 'always_opened',
  12.     'hide_editor' => true
  13. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement