mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Add and correct examples of common names for various dynamic hooks.
See #53581 git-svn-id: https://develop.svn.wordpress.org/trunk@51327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2647,7 +2647,15 @@ function comment_form( $args = array(), $post_id = null ) {
|
||||
* Filters a comment form field for display.
|
||||
*
|
||||
* The dynamic portion of the filter hook, `$name`, refers to the name
|
||||
* of the comment form field. Such as 'author', 'email', or 'url'.
|
||||
* of the comment form field.
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - `comment_form_field_comment`
|
||||
* - `comment_form_field_author`
|
||||
* - `comment_form_field_email`
|
||||
* - `comment_form_field_url`
|
||||
* - `comment_form_field_cookies`
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user