Filters the comment author’s URL cookie before it is set.
When this filter hook is evaluated in wp_filter_comment() , the comment author’s URL string is passed.
$author_url_cookiestring
$comment_author_url = apply_filters( 'pre_comment_author_url', $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_comment_author_url