Changeset 48586 for trunk/src/wp-includes/category.php
- Timestamp:
- 07/23/2020 07:59:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category.php
r48219 r48586 82 82 * 83 83 * @param int|object $category Category ID or Category row object 84 * @param string $outputOptional. 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 $filterOptional. 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'. 88 88 * @return object|array|WP_Error|null Category data in type defined by $output parameter. 89 89 * WP_Error if $category is empty, null if it does not exist.
Note: See TracChangeset
for help on using the changeset viewer.