Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $meta_boxes[] = array(
- 'id' => 'box_test',
- 'title' => __( 'Test' ),
- 'post_types' => array( 'page' ),
- 'include' => array(
- 'relation' => 'OR',
- 'template' => array( 'template-test.php' ),
- ),
- 'context' => 'normal',
- 'priority' => 'high',
- 'revision' => true,
- 'fields' => array(
- array(
- 'name' => __( 'Content' ),
- 'id' => 'content',
- 'type' => 'wysiwyg',
- 'clone' => true,
- 'options' => array(
- 'tinymce' => array(
- 'block_formats' => 'Paragraph=p; Heading 3=h3; Heading 4=h4',
- 'toolbar1' => 'formatselect,bold,italic,bullist,numlist,blockquote,hr,alignleft,aligncenter,alignright,link,unlink',
- ),
- ),
- ),
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement