WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_comments_link

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment-template.php apply_filters 826 /**
* Filters the returned post comments permalink.
*
* @since 3.6.0
*
* @param string $comments_link Post comments permalink with '#comments' appended.
* @param int|WP_Post $post Post ID or WP_Post object.
*/

Hook Parameters

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