Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $meta_boxes[] = array (
- 'title' => esc_html__( 'test', 'text-domain' ),
- 'id' => 'test',
- 'post_types' => array(
- 0 => 'movie',
- ),
- 'context' => 'normal',
- 'priority' => 'high',
- 'fields' => array(
- array (
- 'id' => $prefix . 'group_test',
- 'type' => 'group',
- 'name' => esc_html__( 'Group', 'text-domain' ),
- 'fields' => array(
- array (
- 'id' => $prefix . 'test1',
- 'type' => 'file_advanced',
- 'name' => esc_html__( 'File Advanced', 'text-domain' ),
- 'max_file_uploads' => 1,
- 'max_status' => false,
- 'clone' => 1,
- 'sort_clone' => 1,
- ),
- ),
- 'clone' => 1,
- 'sort_clone' => 1,
- 'default_state' => 'expanded',
- ),
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement