apply_filters( 'get_search_form', string $form, array $args )

Filters the HTML output of the search form.


Parameters

$form

The search form HTML output.

$args

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


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
5.5.0 The $args parameter was added.
2.7.0 Introduced.