Content Visibility for Divi Builder
Content Visibility for Divi Builder.
Solide Wahl
Content Visibility for Divi Bui… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 2K+ sites, is rated 4.8/5 and was last updated 2 months ago, and scores 67/100 on our health check.
- Loved by users — 4.8/5 from 101 reviews
- Momentum — downloads up 24.7% vs the previous 30 days
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Content Visibility for Divi… stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| conditional | >100 |
| Divi | #19 |
| hide | >100 |
| show | #78 |
| visibility | #10 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4.8 from 101 reviews
About Content Visibility for Divi Builder
From the official readme · v5.03Beschreibung
Content Visibility for Divi Builder allows Sections and Modules to be displayed/hidden based on the outcome of a PHP boolean expression.
This plugin is for both the standalone Divi theme (or child themes thereof) and the Divi Builder plugin, version 3 or higher!
Developer Filters
Expression Validation Filters
The following filters allow developers to customize expression validation behavior. Add these filters in your theme’s functions.php or in a custom plugin.
content_visibility_for_divi_builder_blocked_functions
Filter the array of blocked function names. Functions in this list will cause an expression to fail validation. All comparisons are case-insensitive.
Example – allow file_get_contents (blocked by default):
add_filter( 'content_visibility_for_divi_builder_blocked_functions', function( $functions ) {
return array_diff( $functions, array( 'file_get_contents' ) );
} );
Example – block an additional function:
add_filter( 'content_visibility_for_divi_builder_blocked_functions', function( $functions ) {
$functions[] = 'my_dangerous_function';
return $functions;
} );
content_visibility_for_divi_builder_allowed_tokens
Filter the array of allowed PHP token types (T_* constants). Tokens not in this list will cause an expression to fail validation. This is an advanced filter – consult the PHP tokenizer documentation before modifying.
Example – allow the T_VARIABLE token type (blocked by default, use with caution):
add_filter( 'content_visibility_for_divi_builder_allowed_tokens', function( $tokens ) {
$tokens[] = T_VARIABLE;
return $tokens;
} );
content_visibility_for_divi_builder_allowed_chars
Filter the array of allowed single-character tokens. Characters not in this list (such as =, ;, {, }, `, @, &, |, ~, ^) will cause an expression to fail validation.
Example – allow the & character for bitwise operations:
add_filter( 'content_visibility_for_divi_builder_allowed_chars', function( $chars ) {
$chars[] = '&';
return $chars;
} );
content_visibility_for_divi_builder_allowed_callables
Filter the array of callables (function names and Class::method static-method entries) the validator considers known-safe. Anything not on the allowlist (and not on the blocked_functions denylist) is treated as an “Unknown callable” error. Names are normalized (leading \ stripped, namespace\ keyword prefix stripped, lowercased) before comparison, so \My\Namespace\Class::method, My\Namespace\Class::method, and namespace\My\Namespace\Class::method all match the same allowlist entry. The default list ships with WordPress conditional tags (is_user_logged_in, current_user_can, is_admin, etc.). The Expression Validation tab’s content scanner generates a ready-to-paste snippet for this filter pre-populated with every custom callable currently in your content.
Example – allowlist a theme helper and a static service method:
add_filter( 'content_visibility_for_divi_builder_allowed_callables', function( $callables ) {
$callables[] = 'mytheme_should_be_visible';
$callables[] = 'MyTheme\Visibility\Service::checkUser';
return $callables;
} );
Installation
- Laden Sie die Plugin-Dateien in das
/wp-content/plugins/content-visibility-for-divi-builder-Verzeichnis hoch oder installieren Sie das Plugin über den WordPress-Plugin-Bildschirm direkt. - Aktivieren Sie das Plugin über den Bildschirm „Plugins“ in WordPress
- You’re Done! You will notice that Section and Module settings dialogs will now have “Content Visibility” as a configurable setting.
Änderungsprotokoll
Major security release: strict expression validation. Visibility expressions are now checked against an allowlist of safe callables before evaluation, blocking any unknown functions or static methods (including new and instance method chains, which cannot be statically analyzed). Existing installs upgrade with validation disabled to avoid breaking existing content; a persistent admin notice directs you to the Expression Validation tab under Tools > API Reference, where the content scanner generates a copy-paste add_filter('content_visibility_for_divi_builder_allowed_callables', ...) snippet pre-populated with every custom callable currently in your content. Paste, re-scan, then enable validation. Validation can be disabled afterwards via a DISABLE-confirmation form if needed. Publish blocking is enforced at the editor (Gutenberg / Divi 5 VB error; classic editor and Divi 3 & 4 builders abort the save before any database write so an already-published page stays published unchanged). Includes inline live validation in the Divi 5 Visual Builder and a new REST API.
5.03
- Split the “eval() is unavailable” admin notice into three distinct, actionable messages – incomplete plugin install (helper file empty or missing), eval blocked by host hardening, and eval running but returning the wrong value – so the suggested remediation matches the actual failure mode. New
CVDB_VERSIONconstant defined at plugin-file scope. Thanks to @helpmelisa for the help with testing this release!
5.02
- Fix
Call to undefined function cvdb_eval_expression()errors and the false-positive “eval() appears to be disabled” admin notice on hosts that shadow the plugin’s relative bootstrap require. Thanks to @helpmelisa and @cantonbecker for the bug reports!
5.01
- Fix blank content visibility expressions causing PHP errors in Divi 5. Thanks to @ighulme and @beachmat for the bug reports!
5.00
- Visibility expressions are now evaluated against an allowlist of known-safe callables (default: WordPress conditional tags). Function calls and static method calls not on the allowlist are rejected with a “Contact the site administrator” error.
new, instance method chains (Foo::bar()->baz()), variable functions, string-as-callable, and bare identifiers are hard errors and cannot be allowlisted – rewrite as a static helper. New installs have validation enabled by default; existing installs ship with validation off and a persistent admin notice prompting the migration workflow. - The Expression Validation tab now generates a copy-paste
add_filter('content_visibility_for_divi_builder_allowed_callables', ...)snippet pre-populated with every custom callable found in current content (with first-sighting context: post id, module name, admin label, file:line via Reflection when available). Non-allowlistable patterns (instance methods, etc.) are listed separately as “must be rewritten.” - Posts whose content contains expressions failing validation cannot be published while the toggle is on. The REST flow (Gutenberg / Divi 5 VB / API clients) returns
WP_Errorwith a structured error message; the classic editor and the Divi 3 & 4 builders abort the save before any database write so an already-published page stays published with its previous content, and the in-progress edits remain in the editor for you to fix and re-save. - After every save, validation findings are stored as private post meta and surfaced as a yellow (validation off) or red (validation on) admin notice on the post’s edit screen.
- New REST endpoints under
cvdb/v1/:security/scan,security/validate-expression(server-truth validator for the inline UI),notices/rating/dismiss(replaces an AJAX action). - Persistent red admin notice on every admin page when PHP
eval()is unavailable on the host (e.g. Suhosin’sexecutor.disable_eval, custom hardening). Detected via runtime smoke probe. - New filter:
content_visibility_for_divi_builder_allowed_callables. Extension point for admins to allowlist custom callables. Accepts function names andClass::methodstatic-method entries; namespace-qualified names are normalized (leading\,namespace\prefix stripped, lowercased). - New “Expression Validation Filters” tab** on the API Reference page documenting all four expression-validation filters (
blocked_functions,allowed_tokens,allowed_chars,allowed_callables) with paste-ready examples.
4.02
- Add Plugin URI.
4.01
- Fix undefined variable in cvdb-et-builder-element.class.php. Thanks to @kindred for the quick bug report!
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Content Visibility for Divi B… alternatives
All conditional plugins →Fragen und Antworten
Content Visibility for Divi Builder: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Content Visibility for Divi Bui… free?
Yes. Content Visibility for Divi Bui… is free to download and use from the official WordPress.org plugin directory.
Is Content Visibility for Divi Bui… safe to use in 2026?
Content Visibility for Divi Bui… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 2K+ sites, is rated 4.8/5 and was last updated 2 months ago, and scores 67/100 on our health check.
How many websites use Content Visibility for Divi Bui…?
Content Visibility for Divi Bui… is active on 2K+ WordPress websites and has been downloaded 79,535 times since it launched in February 2016. It was downloaded 1,247 times in the last 30 days.
Does Content Visibility for Divi Bui… work with WordPress 7.1?
Content Visibility for Divi Bui… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Content Visibility for Divi Bui… need?
Content Visibility for Divi Bui… requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Content Visibility for Divi Bui… last updated?
The latest version, 5.03, was released on October 6, 2026 (2 months ago).
Who makes Content Visibility for Divi Bui…?
Content Visibility for Divi Bui… is developed and maintained by Jonathan Horowitz.
What are the best alternatives to Content Visibility for Divi Bui…?
The most popular alternatives to Content Visibility for Divi Bui… are Dynamic Visibility for Elem… (40K+ installs), Ele Conditions for Elementor (2K+ installs) and Conditional Logic Emails, F… (2K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte




