filtrod 1.2.0
the_category_rss
Opis — z kodu źródłowego
Filters all of the post categories for display in a feed.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$the_list | string | All of the RSS post categories. |
$type | string | Type of feed. Possible values include 'rss2', 'atom'. Default 'rss2'. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'the_category_rss', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'the_category_rss', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii