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:

Description

Retrieves the permalink for the search results feed.

Related Functions

get_search_link, get_term_feed_link, get_search_comments_feed_link, get_tag_feed_link, get_author_feed_link

Top Google Results

User discussions

wpseek mobile