comment_reply_link_args

comment_reply_link_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('comment_reply_link_args') is found 1 times:

  • /wp-includes/comment-template.php line 1812
    1808
    1809
    1810
    1811
    1812
    1813
    1814
    1815
    1816
    1817
    1818
    *                            for more information on accepted arguments.
     * @param WP_Comment $comment The object of the comment being replied to.
     * @param WP_Post    $post    The WP_Post object.
     */
    $args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );
     
    if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) {
        $link = sprintf(
            '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>',
            esc_url( wp_login_url( get_permalink() ) ),
            $args['login_text']