Conditional Blocks – Advanced Content Visibility Control for WordPress source code

By Morgan Hvidt, on WordPress.org since 2019. 2,000+ active installs.

Browse code Download zip

Conditional Blocks is a powerful, no code plugin that allows you to control the visibility of any WordPress blocks within the Block Editor (Gutenberg) using advanced display logic. Below is its source code for every one of its 23 releases, what changed in the latest one, and how often it ships.

What changed in 3.3.1

Released Dec 4, 2025, 7 months after 3.2.1
  • WordPress 6.9 Ready
  • Added new developer snippet for restricting the Preset Manager for different users.
  • Improved the Preset Manager UI & helpful text.
  • Added new Conditional indicator in the blocks List View.
  • ACF User Meta (Pro) – includes choosing to check for the metadata for the current user or post author.

14 files changed since 3.2.1: 9 modified, 5 added, 0 removed.

And 4 more.

Compare 3.2.1 with 3.3.1

Release history

23 releases since March 2020
  1. 3.3.1 Dec 4, 2025 WordPress 6.9 Ready
  2. 3.2.1 Apr 16, 2025 WordPress 6.8 Ready
  3. 3.1.6 Nov 13, 2024 WordPress 6.7 Ready
  4. 3.1.3 Jul 10, 2024 Change: Inside Query loops, post & meta related conditions will now target each post within the loop.
  5. 3.1.1 Apr 5, 2024 WordPress 6.5 Ready
Full Conditional Blocks – Advanced Content Visibility Control for WordPress changelog with diffs

Source of 3.3.1

34 files
Browse all Conditional Blocks – Advanced Content Visibility Control for WordPress 3.3.1 files Browse trunk