get_search_feed_link
get_search_feed_link ( $search_query = '', $feed = '' )
Parameters:- (string) search_query Optional. Search query. Default empty.
- (string) feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
Returns:- (string) The search results feed permalink.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Retrieves the permalink for the search results feed.