WP_Post_Type::unregister_meta_boxes()

Unregisters the post type meta box if a custom callback was specified.


Description Description


Source Source

File: wp-includes/class-wp-post-type.php

	public function unregister_meta_boxes() {
		if ( $this->register_meta_box_cb ) {
			remove_action( 'add_meta_boxes_' . $this->name, $this->register_meta_box_cb, 10 );
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.