Changeset 19600
- Timestamp:
- 12/16/2011 08:56:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r19593 r19600 1432 1432 * Check if Term exists. 1433 1433 * 1434 * Returns the index of a defined term, or 0 (false) if the term doesn't exist.1435 *1436 1434 * Formerly is_term(), introduced in 2.3.0. 1437 1435 * … … 1445 1443 * @param string $taxonomy The taxonomy name to use 1446 1444 * @param int $parent ID of parent term under which to confine the exists search. 1447 * @return mixed Get the term id or Term Object, if exists. 1445 * @return mixed Returns 0 if the term does not exist. Returns the term ID if no taxonomy is specified 1446 * and the term ID exists. Returns an array of the term ID and the taxonomy if the pairing exists. 1448 1447 */ 1449 1448 function term_exists($term, $taxonomy = '', $parent = 0) {
Note: See TracChangeset
for help on using the changeset viewer.