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

Filters the returned post comments permalink.


Parameters

$comments_link string
Post comments permalink with '#comments' appended.
$post int|WP_Post
Post ID or WP_Post object.

Top ↑

Source

File: wp-includes/comment-template.php. View all references

return apply_filters( 'get_comments_link', $comments_link, $post );


Top ↑

Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.