wpseek.com
A WordPress-centric search engine for devs and theme authors
widget_types_to_hide_from_legacy_widget_block › WordPress Filter Hooks
Since5.8.0
Deprecatedn/a
›
Parameters: |
|
Defined at: |
|
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.
Related Functions: get_legacy_widget_block_editor_settings, render_block_core_legacy_widget, wp_get_sidebars_widgets
Related Hooks: post_types_to_delete_with_user