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