Core Function
View Source on Trac ↗ get_search_comments_feed_link()
get_search_comments_feed_link( mixed $search_query = '', mixed $feed = '' ) Retrieves the permalink for the search results comments feed.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $search_query string | Optional. Search query. Default empty. |
| string | $feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed(). Required |
Return Value
(string)
The comments feed search results permalink.
Function Information
Since Version
2.5.0
Source File
wp-includes/link-template.php
Advertisement