On this page
apply_filters( 'search_feed_link', string $link, string $feed, string $type )
Filters the search feed link.
Parameters
$linkstring-
Search feed link.
$feedstring-
Feed type. Possible values include
'rss2','atom'. $typestring-
The search type. One of
'posts'or'comments'.
Source
File: wp-includes/link-template.php. View all references
return apply_filters( 'search_feed_link', $link, $feed, 'posts' );
Related
Used By
| Used By | Description |
|---|---|
| get_search_comments_feed_link() wp-includes/link-template.php | Retrieves the permalink for the search results comments feed. |
| get_search_feed_link() wp-includes/link-template.php | Retrieves the permalink for the search results feed. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/search_feed_link