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