Make WordPress Core


Ignore:
Timestamp:
09/21/2021 06:19:19 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Document some more common names for dynamic hooks and standardise the phrasing used.

Fixes #53581

File:
1 edited

Legend:

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

    r51796 r51837  
    946946         * Filters a taxonomy term object.
    947947         *
    948          * The dynamic portion of the filter name, `$taxonomy`, refers
     948         * The dynamic portion of the hook name, `$taxonomy`, refers
    949949         * to the slug of the term's taxonomy.
    950950         *
     
    16601660                 * Filters a term field to edit before it is sanitized.
    16611661                 *
    1662                  * The dynamic portion of the filter name, `$field`, refers to the term field.
     1662                 * The dynamic portion of the hook name, `$field`, refers to the term field.
    16631663                 *
    16641664                 * @since 2.3.0
     
    16931693                 * Filters a term field value before it is sanitized.
    16941694                 *
    1695                  * The dynamic portion of the filter name, `$field`, refers to the term field.
     1695                 * The dynamic portion of the hook name, `$field`, refers to the term field.
    16961696                 *
    16971697                 * @since 2.3.0
     
    17321732                 * Filters the term field for use in RSS.
    17331733                 *
    1734                  * The dynamic portion of the filter name, `$field`, refers to the term field.
     1734                 * The dynamic portion of the hook name, `$field`, refers to the term field.
    17351735                 *
    17361736                 * @since 2.3.0
     
    17581758                 * Filters the term field sanitized for display.
    17591759                 *
    1760                  * The dynamic portion of the filter name, `$field`, refers to the term field name.
     1760                 * The dynamic portion of the hook name, `$field`, refers to the term field name.
    17611761                 *
    17621762                 * @since 2.3.0
Note: See TracChangeset for help on using the changeset viewer.