Make WordPress Core


Ignore:
Timestamp:
03/25/2022 04:46:42 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Adjust the term_exists_default_query_args filter docs per the documentation standards.

Follow-up to [52987].

See #55439.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r52987 r52991  
    15611561
    15621562    /**
    1563      * Filters default arguments for checking if term exists.
     1563     * Filters default query arguments for checking if a term exists.
    15641564     *
    15651565     * @since 6.0.0
    15661566     *
    1567      * @param array      $defaults An array of arguments for term_exists.
     1567     * @param array      $defaults An array of arguments passed to get_terms().
    15681568     * @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.
    15711573     */
    15721574    $defaults = apply_filters( 'term_exists_default_query_args', $defaults, $term, $taxonomy, $parent );
Note: See TracChangeset for help on using the changeset viewer.