filtrod 3.1.0
admin_title
Opis — z kodu źródłowego
Filters the title tag content for an admin page.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$admin_title | string | The page title, with extra context added. |
$title | string | The original page title. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'admin_title', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'admin_title', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii