Make WordPress Core


Ignore:
Timestamp:
07/03/2021 09:41:02 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Add and correct examples of common names for various dynamic hooks.

See #53581

File:
1 edited

Legend:

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

    r51300 r51327  
    26482648                     *
    26492649                     * The dynamic portion of the filter hook, `$name`, refers to the name
    2650                      * of the comment form field. Such as 'author', 'email', or 'url'.
     2650                     * of the comment form field.
     2651                     *
     2652                     * Possible hook names include:
     2653                     *
     2654                     *  - `comment_form_field_comment`
     2655                     *  - `comment_form_field_author`
     2656                     *  - `comment_form_field_email`
     2657                     *  - `comment_form_field_url`
     2658                     *  - `comment_form_field_cookies`
    26512659                     *
    26522660                     * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.