apply_filters( 'get_comments_link', string $comments_link, int|WP_Post $post_id )

Filters the returned post comments permalink.


Description


Parameters

$comments_link

(string) Post comments permalink with '#comments' appended.

$post_id

(int|WP_Post) Post ID or WP_Post object.


Top ↑

Source

File: wp-includes/comment-template.php

View on Trac


Top ↑

Changelog

Version Description
3.6.0 Introduced.