WP_Post_Type::register_meta_boxes()
Registers 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 register_meta_boxes() { if ( $this->register_meta_box_cb ) { add_action( 'add_meta_boxes_' . $this->name, $this->register_meta_box_cb, 10, 1 ); } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |