wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



widget_types_to_hide_from_legacy_widget_block › Filtr WordPress Hooks

Od5.8.0
Przestarzałyn/a
Parametry:
  • (string[]) $widgets An array of excluded widget-type IDs.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

$editor_settings['widgetTypesToHideFromLegacyWidgetBlock'] = apply_filters(