WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about post_comments_link

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment-template.php apply_filters 1865 /**
* Filters the formatted post comments link HTML.
*
* @since 2.7.0
*
* @param string $formatted The HTML-formatted post comments link.
* @param int|WP_Post $post The post ID or WP_Post object.
*/

Hook Parameters

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