do_action( 'pre_get_search_form', array $args )

Fires before the search form is retrieved, at the start of get_search_form().

Parameters Parameters


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

Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac

Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.