WP HOOKS
filtrod 3.4.0

wp_terms_checklist_args

Args 2Plik wp-admin/includes/template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the taxonomy terms checklist arguments.

Parametry

ParametrTypOpis
$argsarray | stringAn array or string of arguments.
$post_idintThe post ID.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_terms_checklist_args', 'twoja_funkcja', 10, 2 );

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

Popularne w tej kategorii