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:
Sergey Biryukov 2019-09-06 00:05:10 +00:00
parent 419bb36595
commit 8b17f6caee
1 changed files with 5 additions and 3 deletions

View File

@ -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 */