filtrod 4.2.0
quick_edit_show_taxonomy
Opis — z kodu źródłowego
Filters whether the current taxonomy should be shown in the Quick Edit panel.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$show_in_quick_edit | bool | Whether to show the current taxonomy in Quick Edit. |
$taxonomy_name | string | Taxonomy name. |
$post_type | string | Post 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
}
// 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