filtrod 0.71
bloginfo
Opis — z kodu źródłowego
Filters the site information returned by get_bloginfo().
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$output | mixed | The requested non-URL site information. |
$show | string | Type of information requested. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'bloginfo', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'bloginfo', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii