You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
@@ -161,52 +160,14 @@ public function hide_legacy_widgets_with_block_equivalent( $widget_types ) {
161
160
return$widget_types;
162
161
}
163
162
164
-
/**
165
-
* Disable specific woocommerce blocks on the widgets area, post and page editor.
166
-
*
167
-
* @param bool|string[] $allowed_block_types Array of block type slugs, or boolean to enable/disable all. Default true (all registered block types supported).
168
-
* @param WP_Block_Editor_Context $block_editor_context The current block editor context.
169
-
*
170
-
* @return array|bool The updated allowed block types depending on context
0 commit comments