comment_reply_link_args

FILTER wp-includes\comment-template.php (ligne 1811) github
Filters the comment reply link arguments.

Paramètres

Entrée :
$args, $comment, $post
Sortie :
@param array      $args    Comment reply link arguments. See get_comment_reply_link()
@param WP_Comment $comment The object of the comment being replied to.
@param WP_Post    $post    The WP_Post object.

Utilisation

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

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

Actualités

Chargement des actualités...