post_comments_feed_link_html WordPress Filter Hook

This hook is used to display the post comments feed link HTML in the WordPress admin. It is called by the wp_admin_bar_comments_menu() function.

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

Filters the post comment feed link anchor tag.


Parameters

$link

(string)The complete anchor tag for the comment feed link.

$post_id

(int)Post ID.

$feed

(string)The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More