WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about search_feed_link

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/link-template.php apply_filters 1250 /**
* Filters the search feed link.
*
* @since 2.5.0
*
* @param string $link Search feed link.
* @param string $feed Feed type. Possible values include 'rss2', 'atom'.
* @param string $type The search type. One of 'posts' or 'comments'.
*/
wp-includes/link-template.php apply_filters 1283 /**
* Retrieves the permalink for the search results comments feed.
*
* @since 2.5.0
*
* @global WP_Rewrite $wp_rewrite WordPress rewrite component.
*
* @param string $search_query Optional. Search query. Default empty.
* @param string $feed Optional. Feed type. Possible values include 'rss2', 'atom'.
* Default is the value of get_default_feed().
* @return string The comments feed search results permalink.
*/

Hook Parameters

Parameter Type Name Description
string $link Search feed link.
string $feed Feed type. Possible values include 'rss2', 'atom'.
string $type The search type. One of 'posts' or 'comments'.
string $link Search feed link.
string $feed Feed type. Possible values include 'rss2', 'atom'.
string $type The search type. One of 'posts' or 'comments'.