apply_filters( 'search_link', string $link, string $search )

Filters the search permalink.

Parameters

$link

(string) Search permalink.

$search

(string) The URL-encoded search term.

Source

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/search_link