wphooks.info - get_search_form

get_search_form

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/general-template.php:
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
		}
	}

	/**
	 * Filters the HTML output of the search form.
	 *
	 * @since 2.7.0
	 *
	 * @param string $form The search form HTML output.
	 */
	$result = apply_filters( 'get_search_form', $form );

	if ( null === $result )
		$result = $form;

	if ( $echo )
		echo $result;
	else
		return $result;
}