WP HOOKS
akcjaod 2.9.0

edit_terms

Args 3Plik wp-includes/taxonomy.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires immediately before the given terms are edited.

Parametry

ParametrTypOpis
$term_idintTerm ID.
$taxonomystringTaxonomy slug.
$argsarrayArguments passed to wp_update_term().

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'edit_terms', 'twoja_funkcja', 10, 3 );

function twoja_funkcja($param_1, $param_2, $param_3) {
	// Twój kod
}

Popularne w tej kategorii