get_search_link
get_search_link ( $query = '' )
Parameters:- (string) query Optional. The query string to use. If empty the current query is used. Default empty.
Returns:- (string) The search permalink.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Retrieves the permalink for a search.