filtrod 2.9.0
the_terms
Opis — z kodu źródłowego
Filters the list of terms to display.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$term_list | string | List of terms to display. |
$taxonomy | string | The taxonomy name. |
$before | string | String to use before the terms. |
$sep | string | String to use between the terms. |
$after | string | String to use after the terms. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'the_terms', 'twoja_funkcja', 10, 5 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'the_terms', 'twoja_funkcja', 10, 5 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5) {
// Twój kod
}Popularne w tej kategorii