Changeset 47205
- Timestamp:
- 02/07/2020 05:46:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r47187 r47205 1349 1349 1350 1350 /** 1351 * Determines whether a t erm exists.1351 * Determines whether a taxonomy term exists. 1352 1352 * 1353 1353 * Formerly is_term(), introduced in 2.3.0. … … 1364 1364 * @param string $taxonomy Optional. The taxonomy name to use. 1365 1365 * @param int $parent Optional. ID of parent term under which to confine the exists search. 1366 * @return mixed Returns null if the term does not exist. Returns the term ID1367 * if no taxonomy is specified and the term ID exists. Returns1368 * an array of the term ID and the term taxonomy ID if the taxonomy1369 * is specified and the pairing exists.1366 * @return mixed Returns null if the term does not exist. 1367 * Returns the term ID if no taxonomy is specified and the term ID exists. 1368 * Returns an array of the term ID and the term taxonomy ID if the taxonomy is specified and the pairing exists. 1369 * Returns 0 if term ID 0 is passed to the function. 1370 1370 */ 1371 1371 function term_exists( $term, $taxonomy = '', $parent = null ) {
Note: See TracChangeset
for help on using the changeset viewer.