WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/06/2019 12:05:10 AM (6 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for do_meta_boxes action.

Props felipeelia, killua99, SergeyBiryukov.
Fixes #46542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r45932 r46071  
    15501550     * @since 3.0.0
    15511551     *
    1552      * @param string  $post_type Post type of the post.
    1553      * @param string  $context   string  Meta box context.
    1554      * @param WP_Post $post      Post object.
     1552     * @param string                $post_type Post type of the post on Edit Post screen, 'link' on Edit Link screen,
     1553     *                                         'dashboard' on Dashboard screen.
     1554     * @param string                $context   Meta box context. Possible values include 'normal', 'advanced', 'side'.
     1555     * @param WP_Post|object|string $post      Post object on Edit Post screen, link object on Edit Link screen,
     1556     *                                         an empty string on Dashboard screen.
    15551557     */
    15561558    do_action( 'do_meta_boxes', $post_type, 'normal', $post );
Note: See TracChangeset for help on using the changeset viewer.