comment_author_link_rel

FILTER wp-includes\comment-template.php (ligne 267) github
Filters the rel attributes of the comment author's link.

Paramètres

Entrée :
$rel_parts, $comment
Sortie :
@param string[]   $rel_parts An array of strings representing the rel tags
@param WP_Comment $comment   The comment object.

Utilisation

// Modifier la valeur avec le filtre 'comment_author_link_rel'
add_filter('comment_author_link_rel', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($rel_parts) {
    // Modifier la valeur
    return $rel_parts;
}

Actualités

Chargement des actualités...