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.
$_COOKIE[ 'comment_author_url_' . COOKIEHASH ]
Sortie :
@param string $author_url_cookie The comment author URL cookie.
// Modifier la valeur avec le filtre 'pre_comment_author_url'
add_filter('pre_comment_author_url', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($_COOKIE[ 'comment_author_url_' . COOKIEHASH ]) {
// Modifier la valeur
return $_COOKIE[ 'comment_author_url_' . COOKIEHASH ];
}
Chargement des actualités...