WordPress.org

Make WordPress Core

Changeset 42412


Ignore:
Timestamp:
12/19/2017 03:02:36 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Improve the function and parameter descriptions for do_meta_boxes().

See #42505

File:
1 edited

Legend:

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

    r42343 r42412  
    10581058
    10591059/**
    1060  * Meta-Box template function
     1060 * Displays the meta boxes which are registered against the given screen and context.
    10611061 *
    10621062 * @since 2.5.0
     
    10701070 *                                  make sure your menu slug conforms to the limits of sanitize_key()
    10711071 *                                  otherwise the 'screen' menu may not correctly render on your page.
    1072  * @param string           $context box context
    1073  * @param mixed            $object  gets passed to the box callback function as first parameter
     1072 * @param string           $context The screen context for which to display meta boxes.
     1073 * @param mixed            $object  Gets passed to the first parameter of the meta box callback function.
     1074 *                                  Often this is the object that's the focus of the current screen, for
     1075 *                                  example a `WP_Post` or `WP_Comment` object.
    10741076 * @return int number of meta_boxes
    10751077 */
Note: See TracChangeset for help on using the changeset viewer.