filtrod 2.5.0
language_attributes
Opis — z kodu źródłowego
Filters the language attributes for display in the 'html' tag.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$output | string | A space-separated list of language attributes. |
$doctype | string | The type of HTML document (xhtml|html). |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'language_attributes', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'language_attributes', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii