WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/09/2016 10:59:02 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Improve the documentation for parameters which accept OBJECT, ARRAY_A, and ARRAY_N as parameters.

See #37770

File:
1 edited

Legend:

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

    r39101 r39188  
    171171 *
    172172 * @param WP_Comment|string|int $comment Comment to retrieve.
    173  * @param string $output Optional. OBJECT or ARRAY_A or ARRAY_N constants.
     173 * @param string                $output  Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to
     174 *                                       a WP_Comment object, an associative array, or a numeric array, respectively. Default OBJECT.
    174175 * @return WP_Comment|array|null Depends on $output value.
    175176 */
Note: See TracChangeset for help on using the changeset viewer.