wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



widget_types_to_hide_from_legacy_widget_block › WordPress Filter Hooks

Seit5.8.0
Veraltetn/v
Parameter:
  • (string[]) $widgets An array of excluded widget-type IDs.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

$editor_settings['widgetTypesToHideFromLegacyWidgetBlock'] = apply_filters(