apply_filters( 'search_form_args', array $args )

Filters the array of arguments used when generating the search form.

Parameters

$args

(array) The array of arguments for building the search form. See get_search_form() for information on accepted arguments.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
5.2.0 Introduced.

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