Changeset 39188 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 11/09/2016 10:59:02 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/taxonomy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r38832 r39188 710 710 * will return `$term`. 711 711 * @param string $taxonomy Optional. Taxonomy name that $term is part of. 712 * @param string $output Constant OBJECT, ARRAY_A, or ARRAY_N 712 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to 713 * a WP_Term object, an associative array, or a numeric array, respectively. Default OBJECT. 713 714 * @param string $filter Optional, default is raw or no WordPress defined filter will applied. 714 715 * @return array|WP_Term|WP_Error|null Object of the type specified by `$output` on success. When `$output` is 'OBJECT', … … 817 818 * @param string|int $value Search for this term value 818 819 * @param string $taxonomy Taxonomy name. Optional, if `$field` is 'term_taxonomy_id'. 819 * @param string $output Constant OBJECT, ARRAY_A, or ARRAY_N 820 * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to 821 * a WP_Term object, an associative array, or a numeric array, respectively. Default OBJECT. 820 822 * @param string $filter Optional, default is raw or no WordPress defined filter will applied. 821 * @return WP_Term| bool WP_Term instanceon success. Will return false if `$taxonomy` does not exist822 * or `$term` was not found.823 * @return WP_Term|array|false WP_Term instance (or array) on success. Will return false if `$taxonomy` does not exist 824 * or `$term` was not found. 823 825 */ 824 826 function get_term_by( $field, $value, $taxonomy = '', $output = OBJECT, $filter = 'raw' ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)