Filter hook 'post_comments_link'

in WP Core File wp-includes/comment-template.php at line 1948

Description

Filters the formatted post comments link HTML.

Occurrences

Filename Line Number
wp-includes/comment-template.php 1948

Parameters

Type Name Description
string $post_reply_link The HTML-formatted post comments link.
int|WP_Post $post The post ID or WP_Post object.

PHP Doc

/**
	 * Filters the formatted post comments link HTML.
	 *
	 * @since 2.7.0
	 *
	 * @param string      $post_reply_link The HTML-formatted post comments link.
	 * @param int|WP_Post $post            The post ID or WP_Post object.
	 */