wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



widget_types_to_hide_from_legacy_widget_block › Les Filtres WordPress

Depuis5.8.0
Dépréciéen/a
Paramètres:
  • (string[]) $widgets An array of excluded widget-type IDs.
    Requis: Oui
Défini(e) dans:
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.





Source

$editor_settings['widgetTypesToHideFromLegacyWidgetBlock'] = apply_filters(