do_action( "add_meta_boxes_{$post_type}", WP_Post $post )
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.
Possible hook names include:
add_meta_boxes_post
add_meta_boxes_page
add_meta_boxes_attachment
Parameters
-
$post
WP_Post -
Post object.
Source
File: wp-admin/includes/meta-boxes.php
.
View all references
do_action( "add_meta_boxes_{$post_type}", $post );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Top ↑
Feedback
Wrong page for this hook ‘add_meta_boxes’! This page is about “add_meta_boxes_{$post_type}”! — By regnalf —