filtrod 5.5.0
navigation_widgets_format
Opis — z kodu źródłowego
Filters the HTML format of widgets with navigation links.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$format | string | The type of markup to use in widgets with navigation links. Accepts 'html5', 'xhtml'. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'navigation_widgets_format', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'navigation_widgets_format', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii