Skip to content
Permalink
Browse files

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
  • Loading branch information...
SergeyBiryukov committed Sep 6, 2019
1 parent 419bb36 commit 8b17f6caeeef4fe551e0cbd945f51bd6298bf2d1
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/wp-admin/includes/meta-boxes.php
@@ -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 */

0 comments on commit 8b17f6c

Please sign in to comment.
You can’t perform that action at this time.