WP HOOKS
filtrod 4.2.0

quick_edit_show_taxonomy

Args 3Plik wp-admin/includes/class-wp-posts-list-table.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters whether the current taxonomy should be shown in the Quick Edit panel.

Parametry

ParametrTypOpis
$show_in_quick_editboolWhether to show the current taxonomy in Quick Edit.
$taxonomy_namestringTaxonomy name.
$post_typestringPost type of current Quick Edit post.

Wywołanie

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

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

Popularne w tej kategorii