comment_reply_link

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

Paramètres

Entrée :
$args = array(
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.
@param string     $comment_reply_link The HTML markup for the comment reply link.
@param array      $args               An array of arguments overriding the defaults.
@param WP_Comment $comment            The object of the comment being replied.
@param WP_Post    $post               The WP_Post object.
@param array          $args    Optional. Override default options. Default empty array.
@param int|WP_Comment $comment Optional. Comment being replied to. Default current comment.
@param int|WP_Post    $post    Optional. Post ID or WP_Post object the comment is going to be displayed on.

Utilisation

// Utilisation de la fonction comment_reply_link
$result = comment_reply_link($args = array();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...