comment_reply_link_args

comment_reply_link_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('comment_reply_link_args') is found 1 times:

  • /wp-includes/comment-template.php line 1673
    	 *                            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']