Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:28:51 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Docs on docs. Further improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

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

    r46596 r46662  
    141141
    142142/**
    143  * Get Hidden Meta Boxes
     143 * Gets an array of IDs of hidden meta boxes.
    144144 *
    145145 * @since 2.7.0
    146146 *
    147147 * @param string|WP_Screen $screen Screen identifier
    148  * @return array Hidden Meta Boxes
     148 * @return string[] IDs of hidden meta boxes.
    149149 */
    150150function get_hidden_meta_boxes( $screen ) {
    … …  
    173173                 * @since 3.1.0
    174174                 *
    175                  * @param array     $hidden An array of meta boxes hidden by default.
     175                 * @param string[]  $hidden An array of IDs of meta boxes hidden by default.
    176176                 * @param WP_Screen $screen WP_Screen object of the current screen.
    177177                 */
    … …  
    184184         * @since 3.3.0
    185185         *
    186          * @param array     $hidden       An array of hidden meta boxes.
     186         * @param string[]  $hidden       An array of IDs of hidden meta boxes.
    187187         * @param WP_Screen $screen       WP_Screen object of the current screen.
    188188         * @param bool      $use_defaults Whether to show the default meta boxes.
    … …  
    234234 * @since 3.0.0
    235235 *
    236  * @param mixed $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen,
    237  *                         or an existing screen object.
     236 * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen,
     237 *                                    or an existing screen object.
    238238 */
    239239function set_current_screen( $hook_name = '' ) {
Note: See TracChangeset for help on using the changeset viewer.