filtrod 4.4.0
hidden_columns
Opis — z kodu źródłowego
Filters the list of hidden columns.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$hidden | string[] | Array of IDs of hidden columns. |
$screen | \WP_Screen | WP_Screen object of the current screen. |
$use_defaults | bool | Whether to show the default columns. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'hidden_columns', '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( 'hidden_columns', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii