Docs: Improve documentation for do_meta_boxes
action.
Props felipeelia, killua99, SergeyBiryukov. Fixes #46542. git-svn-id: https://develop.svn.wordpress.org/trunk@46071 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
419bb36595
commit
8b17f6caee
@ -1549,9 +1549,11 @@ function register_and_do_post_meta_boxes( $post ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param string $post_type Post type of the post.
|
||||
* @param string $context string Meta box context.
|
||||
* @param WP_Post $post Post object.
|
||||
* @param string $post_type Post type of the post on Edit Post screen, 'link' on Edit Link screen,
|
||||
* 'dashboard' on Dashboard screen.
|
||||
* @param string $context Meta box context. Possible values include 'normal', 'advanced', 'side'.
|
||||
* @param WP_Post|object|string $post Post object on Edit Post screen, link object on Edit Link screen,
|
||||
* an empty string on Dashboard screen.
|
||||
*/
|
||||
do_action( 'do_meta_boxes', $post_type, 'normal', $post );
|
||||
/** This action is documented in wp-admin/includes/meta-boxes.php */
|
||||
|
Loading…
Reference in New Issue
Block a user