get_comments_link

Advertisement

Summery Summery

Filters the returned post comments permalink.

Syntax Syntax

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

Parameters Parameters

$comments_link

Post comments permalink with '#comments' appended.

$post_id

Post ID or WP_Post object.

Source Source

File: wp-includes/comment-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply