wppaste
WordPress

apply_filters( 'post_comments_feed_link_html', string $link, int $post_id, string $feed )

Since
2.8.0
Filters the post comment feed link anchor tag.

Parameters

$post_idint
Post ID.
$feedstring
The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.

Fired at · 1

  • wp-includes/link-template.php:854post_comments_feed_link()

Source

	 *	 * @param string $link    The complete anchor tag for the comment feed link.	 * @param int    $post_id Post ID.	 * @param string $feed    The feed type. Possible values include 'rss2', 'atom',	 *                        or an empty string for the default feed type.	 */	echo apply_filters( 'post_comments_feed_link_html', $link, $post_id, $feed );} /** * Retrieves the feed link for a given author. * * Returns a link to the feed for all posts by a given author. A specific feed

History

Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.