Changeset 52987
- Timestamp:
- 03/24/2022 10:24:52 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r52921 r52987 1560 1560 } 1561 1561 1562 /** 1563 * Filters default arguments for checking if term exists. 1564 * 1565 * @since 6.0.0 1566 * 1567 * @param array $defaults An array of arguments for term_exists. 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. 1571 */ 1572 $defaults = apply_filters( 'term_exists_default_query_args', $defaults, $term, $taxonomy, $parent ); 1573 1562 1574 if ( is_int( $term ) ) { 1563 1575 if ( 0 === $term ) {
Note: See TracChangeset
for help on using the changeset viewer.