get_comments_link

get_comments_link

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

See hook in core

Displaying hooks found in version: wordpress-6.6

apply_filters('get_comments_link') is found 1 times:

  • /wp-includes/comment-template.php line 877
    	 *
    	 * @param string      $comments_link Post comments permalink with '#comments' appended.
    	 * @param int|WP_Post $post          Post ID or WP_Post object.
    	 */
    	return apply_filters( 'get_comments_link', $comments_link, $post );
    }
    
    /**
     * Displays the link to the current post comments.
     *
     * @since 0.71