您需要以下内容:
$metabox_array = array (array(\'view1\', \'Metabox for View 1\', \'Render View 1\', \'Post\', \'normal\', \'default\',
\'view2\', \'Metabox for View 2\', \'Render View 2\', \'Post\', \'normal\', \'default\',
\'view_x\', \'Metabox for View_x\', \'Render View_x\', \'Post\', \'normal\', \'default\',));
function adding_custom_meta_boxes( $post ) {
add_meta_box($metabox_array);
}
add_action( \'add_meta_boxes_post\', \'adding_custom_meta_boxes\' );
正如kiaser所说,我们需要更多的信息。