Inventory_Presser_Classic_Editor::move_advanced_meta_boxes()

Rearranges meta boxes on the editor when editing vehicles


Return

(void)


Source

File: includes/integrations/class-classic-editor.php

	public function move_advanced_meta_boxes() {
		global $post, $wp_meta_boxes;
		$post_type = get_post_type( $post );

		if ( INVP::POST_TYPE != $post_type ) {
			return;
		}

		do_meta_boxes( get_current_screen(), 'advanced', $post );
		unset( $wp_meta_boxes[ get_post_type( $post ) ]['advanced'] );
	}