On this page
apply_filters( 'search_link', string $link, string $search )
Filters the search permalink.
Parameters
$linkstring-
Search permalink.
$searchstring-
The URL-encoded search term.
Source
File: wp-includes/link-template.php. View all references
return apply_filters( 'search_link', $link, $search );
Related
Used By
| Used By | Description |
|---|---|
| get_search_link() wp-includes/link-template.php | Retrieves the permalink for a search. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/search_link