Changeset 52991 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 03/25/2022 04:46:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r52987 r52991 1561 1561 1562 1562 /** 1563 * Filters default arguments for checking ifterm exists.1563 * Filters default query arguments for checking if a term exists. 1564 1564 * 1565 1565 * @since 6.0.0 1566 1566 * 1567 * @param array $defaults An array of arguments for term_exists.1567 * @param array $defaults An array of arguments passed to get_terms(). 1568 1568 * @param int|string $term The term to check. Accepts term ID, slug, or name. 1569 * @param string $taxonomy The taxonomy name to use. An empty string indicates the search is against all taxonomies. 1570 * @param int|null $parent ID of parent term under which to confine the exists search. Null indicates the search is unconfined. 1569 * @param string $taxonomy The taxonomy name to use. An empty string indicates 1570 * the search is against all taxonomies. 1571 * @param int|null $parent ID of parent term under which to confine the exists search. 1572 * Null indicates the search is unconfined. 1571 1573 */ 1572 1574 $defaults = apply_filters( 'term_exists_default_query_args', $defaults, $term, $taxonomy, $parent );
Note: See TracChangeset
for help on using the changeset viewer.