Changeset 48197 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 06/28/2020 11:47:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r48187 r48197 812 812 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to 813 813 * a WP_Term object, an associative array, or a numeric array, respectively. Default OBJECT. 814 * @param string $filter Optional , default is raw or no WordPress defined filter will applied.814 * @param string $filter Optional. How to sanitize term fields. Default 'raw'. 815 815 * @return WP_Term|array|WP_Error|null Object of the type specified by `$output` on success. When `$output` is 'OBJECT', 816 816 * a WP_Term instance is returned. If taxonomy does not exist, a WP_Error is … … 923 923 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to 924 924 * a WP_Term object, an associative array, or a numeric array, respectively. Default OBJECT. 925 * @param string $filter Optional , default is raw or no WordPress defined filter will applied.925 * @param string $filter Optional. How to sanitize term fields. Default 'raw'. 926 926 * @return WP_Term|array|false WP_Term instance (or array) on success. Will return false if `$taxonomy` does not exist 927 927 * or `$term` was not found. … … 1045 1045 * @param int|WP_Term $term Term ID or object. 1046 1046 * @param string $taxonomy Optional. Taxonomy Name. Default empty. 1047 * @param string $context Optional, default is display. Look at sanitize_term_field() for available options. 1047 * @param string $context Optional. How to sanitize term fields. Look at sanitize_term_field() for available options. 1048 * Default 'display'. 1048 1049 * @return string|int|null|WP_Error Will return an empty string if $term is not an object or if $field is not set in $term. 1049 1050 */
Note: See TracChangeset
for help on using the changeset viewer.