search_feed_link WordPress Filter Hook

The search_feed_link hook allows you to alter the search RSS feed link. This hook is useful for adding custom query parameters to the feed link.

apply_filters( 'search_feed_link', string $link, string $feed, string $type ) #

Filters the search feed link.


Parameters

$link

(string)Search feed link.

$feed

(string)Feed type. Possible values include 'rss2', 'atom'.

$type

(string)The search type. One of 'posts' or 'comments'.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.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