WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get search comments feed link

Contents

Description

Retrieve the permalink for the comments feed of the search results.

Usage

<?php get_search_comments_feed_link$search_query$feed ?>

Parameters

$search_query
(string) (optional) Url search query.
Default: ''
$feed
(string) (optional) Feed type.
Default: ''

Return Values

(string) 

Examples

Notes

Change Log

Since: 2.5.0

Source File

get_search_comments_feed_link() is located in wp-includes/link-template.php.

Related

See also index of Function Reference and index of Template Tags.