filtrod 5.2.0
search_form_args
Opis — z kodu źródłowego
Filters the array of arguments used when generating the search form.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$args | array | The array of arguments for building the search form. See get_search_form() for information on accepted arguments. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'search_form_args', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'search_form_args', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii