Make WordPress Core


Ignore:
Timestamp:
07/23/2020 07:59:16 PM (4 years ago)
Author:
johnbillion
Message:

Docs: First pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

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

    r48219 r48586  
    8282 *
    8383 * @param int|object $category Category ID or Category row object
    84  * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,
    85  *                       which correspond to a WP_Term object, an associative array, or a numeric array,
    86  *                       respectively. Default OBJECT.
    87  * @param string $filter Optional. How to sanitize category fields. Default 'raw'.
     84 * @param string     $output  Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,
     85 *                             which correspond to a WP_Term object, an associative array, or a numeric array,
     86 *                             respectively. Default OBJECT.
     87 * @param string     $filter  Optional. How to sanitize category fields. Default 'raw'.
    8888 * @return object|array|WP_Error|null Category data in type defined by $output parameter.
    8989 *                                    WP_Error if $category is empty, null if it does not exist.
Note: See TracChangeset for help on using the changeset viewer.