filtrod 2.2.0
get_bloginfo_rss
Opis — z kodu źródłowego
Filters the bloginfo for use in RSS feeds.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$info | string | Converted string value of the blog information. |
$show | string | The type of blog information to retrieve. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'get_bloginfo_rss', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'get_bloginfo_rss', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii