wordpress / latest / hooks / search_link.html

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 all references

return apply_filters( 'search_link', $link, $search );

Used By

Used By Description

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