wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



widget_types_to_hide_from_legacy_widget_block › WordPress Filter Hooks

Da5.8.0
Deprecaton/a
Parametri:
  • (string[]) $widgets An array of excluded widget-type IDs.
    Richiesto:
Definito a:
Codex:

Filters the list of widget-type IDs that should **not** be offered by the Legacy Widget block.

Returning an empty array will make all widgets available.





Sorgenti

$editor_settings['widgetTypesToHideFromLegacyWidgetBlock'] = apply_filters(