apply_filters( 'search_form_format', string $format, array $args )

Filters the HTML format of the search form.


Parameters Parameters

$format

(string) The type of markup to use in the search form. Accepts 'html5', 'xhtml'.

$args

(array) The array of arguments for building the search form.


Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

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