Fires after all built-in meta boxes have been added, contextually for the given post type.
Description
The dynamic portion of the hook name, $post_type, refers to the post type of the post, or the object type (comment, link).
Possible hook names include:
add_meta_boxes_postadd_meta_boxes_pageadd_meta_boxes_attachmentadd_meta_boxes_commentadd_meta_boxes_link
Parameters
$objectWP_Post|WP_Comment|object- The post, comment, or link object. Type varies depending on the hook name.
Source
do_action( "add_meta_boxes_{$post_type}", $post );
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
User Contributed Notes