Inventory_Presser_Customize_Dashboard::move_tags_meta_box()

move_tags_meta_box


Description Description

Remove and re-add the "Tags" meta box so it ends up at the bottom for our CPT


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-customize-admin-dashboard.php

	function move_tags_meta_box()
	{
		global $wp_meta_boxes;
		unset( $wp_meta_boxes[INVP::POST_TYPE]['side']['core']['tagsdiv-post_tag'] );
		add_meta_box(
			'tagsdiv-post_tag',
			'Tags',
			'post_tags_meta_box',
			INVP::POST_TYPE,
			'side',
			'core',
			array( 'taxonomy' => 'post_tag' )
		);
	}