filtrod 2.8.0
screen_layout_columns
Opis — z kodu źródłowego
Filters the array of screen layout columns.
This hook provides back-compat for plugins using the back-compat Filters instead of add_screen_option().
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$empty_columns | array | Empty array. |
$screen_id | string | Screen ID. |
$screen | \WP_Screen | Current WP_Screen instance. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'screen_layout_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( 'screen_layout_columns', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii