filtrod 5.0.0
determine_locale
Opis — z kodu źródłowego
Filters the locale for the current request.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$determined_locale | string | The locale. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'determine_locale', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'determine_locale', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii