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

Filters the returned post comments permalink.


Parameters Parameters

$comments_link

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

$post_id

(int|WP_Post) Post ID or WP_Post object.



Top ↑

Source Source

File: wp-includes/comment-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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