filtrod 3.1.0
get_edit_term_link
Opis — z kodu źródłowego
Filters the edit link for a term.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$location | string | The edit link. |
$term_id | int | Term ID. |
$taxonomy | string | Taxonomy name. |
$object_type | string | The object type. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'get_edit_term_link', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'get_edit_term_link', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}Popularne w tej kategorii