Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@ndiego ndiego released this 23 Mar 13:29
· 204 commits to main since this release

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- and ControlSetControlsIntegrations- slots for adding visibility control editor UI elements.
  • Added the PluginSettings slot for adding additional plugin settings.
  • Added the VisibilityControls, VisibilityControlsGeneral, and VisibilityControlsIntegrations slots for adding additional visibility control settings.
  • Added the blockVisibility.globallyRestrictedBlockTypes and blockVisibility.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, use ControlSetControlsIntegrations- instead.
  • Deprecated the VisibilityControlsIntegrationsBottom slot, use VisibilityControlsIntegrations 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 and blockVisibility.addControlSetOptions filters.
  • Removed the ControlSetControlsTop- and ControlSetControlsMiddle- slots.
  • Removed the PluginSettingsEditorTop and PluginSettingsEditorTop slots.
  • Removed the PluginSettingsTop, PluginSettingsMiddle, and PluginSettingsBottom slots.
  • Removed the VisibilityControlsTop, VisibilityControlsMiddle, and VisibilityControlsBottom slots.
  • Removed the VisibilityControlsIntegrationsTop and VisibilityControlsIntegrationsBottom slots.
  • Removed the RuleSetOptionsTop, RuleSetOptionsMiddle, RuleSetOptionsBottom, and RuleSetMoreSettingsTools slots.
  • [Date & Time] Removed the block_visibility_frontend_test_date_time_schedule filter.
  • [Date & Time] Removed the VisibilityControlsDateTimeTop and VisibilityControlsDateTimeBottom slots.
  • [Date & Time] Removed the DateTimeScheduleToolbar- and DateTimeScheduleControlsTop-, and DateTimeScheduleControlsBottom- slots.
  • [Date & Time] Removed the ScheduleOptionsTools, ScheduleOptionsMiddle, and ScheduleOptionsBottom slots.
  • [Screen Size] Removed the ScreenSizeControls slot.
  • [User Role] Removed the VisibilityByRoleControls slot.