WP HOOKS
filtrod 3.1.0

get_edit_term_link

Args 4Plik wp-includes/link-template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the edit link for a term.

Parametry

ParametrTypOpis
$locationstringThe edit link.
$term_idintTerm ID.
$taxonomystringTaxonomy name.
$object_typestringThe 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
}

Popularne w tej kategorii