Version 3.0.0
Read the Block Visibility 3.0.0 announcement post.
Added
- Added the Browser & Device control.
- Added the Cookie control.
- Added the Location control.
- Added the Metadata control.
- Added the Referral Source control.
- Added the URL Path control.
- Added the Visibility Preset control.
- Added Day of Week and Time of Day functionality to the Date & Time control.
- Added control set utility support.
- Added local visibility control support.
- Added the
ControlSetControls-
andControlSetControlsIntegrations-
slots for adding visibility control editor UI elements. - Added the
PluginSettings
slot for adding additional plugin settings. - Added the
VisibilityControls
,VisibilityControlsGeneral
, andVisibilityControlsIntegrations
slots for adding additional visibility control settings. - Added the
blockVisibility.globallyRestrictedBlockTypes
andblockVisibility.widgetAreaRestrictedBlockTypes
filters to restrict visibility controls on specific block types.
Changed
- Plugin scripts are now enqueued with
enqueue_block_editor_assets
, and previous workarounds have been removed. - Deprecated the
ControlSetControlsBottom-
slot, useControlSetControlsIntegrations-
instead. - Deprecated the
VisibilityControlsIntegrationsBottom
slot, useVisibilityControlsIntegrations
instead.
Removed
- Removed Pro upgrade link on the plugins admin page.
- Removed Pro upsells from settings pages.
- Removed block-level contextual indicator filters.
- Removed the
blockVisibility.addControlSetModals
andblockVisibility.addControlSetOptions
filters. - Removed the
ControlSetControlsTop-
andControlSetControlsMiddle-
slots. - Removed the
PluginSettingsEditorTop
andPluginSettingsEditorTop
slots. - Removed the
PluginSettingsTop
,PluginSettingsMiddle
, andPluginSettingsBottom
slots. - Removed the
VisibilityControlsTop
,VisibilityControlsMiddle
, andVisibilityControlsBottom
slots. - Removed the
VisibilityControlsIntegrationsTop
andVisibilityControlsIntegrationsBottom
slots. - Removed the
RuleSetOptionsTop
,RuleSetOptionsMiddle
,RuleSetOptionsBottom
, andRuleSetMoreSettingsTools
slots. - [Date & Time] Removed the
block_visibility_frontend_test_date_time_schedule
filter. - [Date & Time] Removed the
VisibilityControlsDateTimeTop
andVisibilityControlsDateTimeBottom
slots. - [Date & Time] Removed the
DateTimeScheduleToolbar-
andDateTimeScheduleControlsTop-
, andDateTimeScheduleControlsBottom-
slots. - [Date & Time] Removed the
ScheduleOptionsTools
,ScheduleOptionsMiddle
, andScheduleOptionsBottom
slots. - [Screen Size] Removed the
ScreenSizeControls
slot. - [User Role] Removed the
VisibilityByRoleControls
slot.