filtrod 2.8.0
terms_to_edit
Opis — z kodu źródłowego
Filters the comma-separated list of terms available to edit.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$terms_to_edit | string | A comma-separated list of term names. |
$taxonomy | string | The taxonomy name for which to retrieve terms. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'terms_to_edit', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'terms_to_edit', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii