Changeset 36634
- Timestamp:
- 02/23/2016 04:47:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r36614 r36634 814 814 * @param string $output Constant OBJECT, ARRAY_A, or ARRAY_N 815 815 * @param string $filter Optional, default is raw or no WordPress defined filter will applied. 816 * @return mixed Type corresponding to `$output` on success or null on failure. When `$output` is `OBJECT`, 817 * a WP_Term instance is returned. If taxonomy does not exist then WP_Error will be returned. 816 * @return array|WP_Term|WP_Error|null Object of the type specified by `$output` on success. When `$output` is 'OBJECT', 817 * a WP_Term instance is returned. If taxonomy does not exist, a WP_Error is 818 * returned. Returns null for miscellaneous failure. 818 819 */ 819 820 function get_term( $term, $taxonomy = '', $output = OBJECT, $filter = 'raw' ) {
Note: See TracChangeset
for help on using the changeset viewer.