filtrod 5.8.0
use_widgets_block_editor
Opis — z kodu źródłowego
Filters whether to use the block editor to manage widgets.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$use_widgets_block_editor | bool | Whether to use the block editor to manage widgets. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'use_widgets_block_editor', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'use_widgets_block_editor', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii