get_search_comments_feed_link

SummerySummery

Retrieves the permalink for the search results comments feed.

Syntax

get_search_comments_feed_link( string $search_query = '', string $feed = '' )

ParametersParameters

$search_query

(string) (Optional) Search query.

Default value: ''

$feed

(string) (Optional) Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().

Default value: ''

ReturnReturn

(string) The comments feed search results permalink.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
2.5.0 Introduced.
Scroll to Top