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