Changeset 48591 for trunk/src/wp-includes/category.php
- Timestamp:
- 07/23/2020 09:53:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category.php
r48586 r48591 81 81 * @since 1.5.1 82 82 * 83 * @param int|object $category Category ID or Category row object84 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, 85 * whichcorrespond to a WP_Term object, an associative array, or a numeric array,83 * @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, which 85 * correspond to a WP_Term object, an associative array, or a numeric array, 86 86 * respectively. Default OBJECT. 87 87 * @param string $filter Optional. How to sanitize category fields. Default 'raw'. … … 117 117 * @param string $category_path URL containing category slugs. 118 118 * @param bool $full_match Optional. Whether full path should be matched. 119 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, 120 * whichcorrespond to a WP_Term object, an associative array, or a numeric array,119 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which 120 * correspond to a WP_Term object, an associative array, or a numeric array, 121 121 * respectively. Default OBJECT. 122 122 * @return WP_Term|array|WP_Error|null Type is based on $output value. … … 330 330 * 331 331 * @param int|WP_Term|object $tag A tag ID or object. 332 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, 333 * whichcorrespond to a WP_Term object, an associative array, or a numeric array,332 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which 333 * correspond to a WP_Term object, an associative array, or a numeric array, 334 334 * respectively. Default OBJECT. 335 335 * @param string $filter Optional. How to sanitize tag fields. Default 'raw'. … … 372 372 * @access private 373 373 * 374 * @param array|object|WP_Term $category Category Row object or array374 * @param array|object|WP_Term $category Category row object or array. 375 375 */ 376 376 function _make_cat_compat( &$category ) {
Note: See TracChangeset
for help on using the changeset viewer.