Filter hook 'get_search_form'

in WP Core File wp-includes/general-template.php at line 359

Description

Filters the HTML output of the search form.

Occurrences

Filename Line Number
wp-includes/general-template.php 359

Parameters

Type Name Description
string $form The search form HTML output.
array $args The array of arguments for building the search form. See get_search_form() for information on accepted arguments.

PHP Doc

/**
	 * Filters the HTML output of the search form.
	 *
	 * @since 2.7.0
	 * @since 5.5.0 The `$args` parameter was added.
	 *
	 * @param string $form The search form HTML output.
	 * @param array  $args The array of arguments for building the search form.
	 *                     See get_search_form() for information on accepted arguments.
	 */