apply_filters( 'feed_links_extra_show_tag_feed', bool $show )
- Since
- 6.1.0
Filters whether to display the tag feed link.
Compatibility
- WordPress
- since 6.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$showbool- Whether to display the tag feed link. Default true.
Where this hook fires · 1
wp-includes/general-template.php:3656feed_links_extra()
Source code
* Filters whether to display the tag feed link. * * @since 6.1.0 * * @param bool $show Whether to display the tag feed link. Default true. */ $show_tag_feed = apply_filters( 'feed_links_extra_show_tag_feed', true ); if ( $show_tag_feed ) { $term = get_queried_object(); if ( $term ) { $title = sprintf(Changelog
Introduced in 6.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 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.