Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-comments-post.php | do_action | 55 | /** * Perform other actions when comment cookies are set. * * @since 3.4.0 * @since 4.9.6 The `$cookies_consent` parameter was added. * * @param WP_Comment $comment Comment object. * @param WP_User $user Comment author's user object. The user may not exist. * @param bool $cookies_consent Comment author's consent to store cookies. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
WP_Comment | $comment | Comment object. |
WP_User | $user | Comment author's user object. The user may not exist. |
bool | $cookies_consent | Comment author's consent to store cookies. |