WP_Post_Type::register_meta_boxes()

In this article

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

Source

public function register_meta_boxes() {
	if ( $this->register_meta_box_cb ) {
		add_action( 'add_meta_boxes_' . $this->name, $this->register_meta_box_cb, 10, 1 );
	}
}

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

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