Plugin Directory

Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More

Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More


Content Control is a transformative plugin, allowing you to fine-tune every aspect of your WordPress website’s content. Decide who gets to see what, where, and when – be it pages, posts, widgets, or individual block visibility using our handy shortcode. Your content, your rules, executed perfectly!

Content Control is intuitive and powerful, designed for all users—whether logged in, holding specific roles, or even guests. Need top-tier content restriction or a dependable access manager for your site? Look no further. We’ve expanded our controls to include Gutenberg and Full Site Editor, giving you unmatched command.

Key Features

Discover what Content Control brings to your table:

  • Full control over your site’s content, restrict user access with ease!.
  • Set up a seamless paywall for your content, providing teasers for users and prompting them to purchase access.
  • Per block controls for Gutenberg and Full Site Editor, including user roles, device type, and more.
    • Responsive block controls with customizable breakpoints.
    • Control block visibility by user status, roles, device type & more.
  • Restrict access to pages, posts, widgets, and individual blocks based on user status, roles, device type & more.
  • Offer membership tools for crafting membership access and members-only content.
  • Provide responsive block designs that adapt to varying device sizes.
  • Lockdown content selectively for improved user experiences.
  • Implement role-based redirections to guide users effectively.
  • Unlock the power of subscription content and monetization strategies.
  • Safeguard specific categories, tags, custom post types, and custom taxonomies.
  • Manage access to media attachment pages for logged in/out users or specific user roles.
  • Zobrazení vlastní zprávy uživatelům, kteří nemají oprávnění k zobrazení obsahu.
  • Display specific content on a page or post to logged in users only, specific user roles, or logged out users.
  • Redirect users without access permission to a login page, website homepage, or a custom URL.
  • Highlight subscriber-only content for premium users.
  • Use the [content_control] shortcode to protect content inline and cater to subscriber preferences.
  • Control widget visibility by selecting the user type that can view each widget.
  • Conditionally show coming soon or maintenance mode pages based on various rules.
  • Restrict access to your site’s REST API endpoints.

Content Control Documentation

Pro Features

Content Control Pro, with advanced features like:

  • Content Teasers for Paywalls, giving your users a sneak peek, leaving them wanting more.
  • Optimize your WooCommerce & Easy Digital Downloads (EDD) experiences with advanced rules.
  • Schedule blocks, controlling content visibility timings using customizable scheduling rules.
  • Dive deeper with advanced block rules and a boolean editor.
  • Customize login, registration & recovery page urls. Custom login urls give a more personalized user experience.

Upgrade to Content Control Pro

Note: Content Control handles media access via content on media attachment pages but won’t restrict direct server-level access to media files.

Passionately Crafted by Code Atlantic

At Code Atlantic, we’re passionate about crafting tools that empower your digital journey. Content Control is a testament to our commitment to quality.

Dive into some of our renowned plugins:

  • Popup Maker – The #1 Popup & Marketing Plugin for WordPress
  • User Menus – Innovatively Show, Hide & Customize Menu Items

Snímky obrazovky

  • Restrict access to individual blocks.
  • Vytvořte neomezené sady omezení.
  • Zvolte, kdo může omezený obsah zobrazit.
  • Zobrazte zprávu místo omezeného obsahu.
  • Přesměrovat uživatele, aby se přihlásili nebo na jinou stránku, pokud mají přístup k omezenému obsahu.
  • Vyberte si libovolný obsah, který vás napadne chránit.
  • K ochraně vloženého obsahu používejte zkrácené kódy.
  • Omezte také widgety.


  • Nainstalujte Content Control buď prostřednictvím úložiště pluginů WordPress.org nebo nahráním souborů na server.
  • Aktivujte kontrolu obsahu.

Pokud potřebujete pomoc, jak začít s Řízením obsahu, přečtěte si Nejčastější dotazy který vysvětluje, jak plugin používat.

Nejčastější dotazy

Kde mohu získat podporu?

Pokud uvíznete, můžete požádat o pomoc ve Fóru pro pluginy pro kontrolu obsahu.

Kde mohu nahlásit chyby nebo přispět k projektu?

Bugs can be reported either in our support forum or we are happy to accept PRs on the Content Control GitHub repo.


16. 5. 2024 1 odpověď
WordPress admin is cluttered and slow enough already, I don’t need your plugin making my admin area less usable. You begged for a review, and you got one.
12. 5. 2024 3 odpovědi
I am using the latest version of Wordpress (6.5.3) and I have PHP 8.1. I installed this directly within Wordpress via searching for this plugin and installing it. After I installed it, I went to test the restrictions. Then the issues started: Issue #1 was, when I select who the restriction applies to, when I chose „match“ from the drop down menu, I expected a new condition or form to appear, such as one alowing me to choose a user role. Instead, the page refreshed a blank page, showing only the default wordpress dashboard menus and notices. See this screenshot: postimg. cc / xN8fRQw8 (remove the spaces). Issue #2 whas when I tried to access anything else, I was immediately logged out, with a log in form showing on the screen overlaying what was already on the page. But, after I tried to log back in, a single error message showing on a totally white page (the kind that you get when you have a critical error and shows nothing else) said I could not access the page or that I am not allowed to see it, I forgot the exact message. After I logged in with the wordpress login form, if I tried to go to any page, I had to log in again, so basically I could not do anything. Had to log into my hosting account’s back end and manually remove the plugin, then I got access to the Wordpress admin dashboard immediately. This is despite it saying it was updated just 5 days ago and „Compatible with your version of WordPress“. Very disappointed since it has a 4.9/5 star review.
11. 5. 2024 3 odpovědi
I have used Wishlist Member for my membership site for years but it is no longer supported. Looking for a replacement. Has anyone used Content Control with a payment option? If so, which one ? Can plug in be set to allow expiration date to restricted content?
10. 5. 2024
I wanted to restrict some hidden pages within BuddyPress, BBPress and Event Calendar and this plugin works amazing. Super easy to setup rules. Highly recommend!
Přečtěte si všech 524 recenzí


Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Plugin „Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More“ byl přeložen do 9 jazyků. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn

v2.3.0 – 05/23/2024

  • Improvement: Added more full coverage of all query types for for restriction handling. This helps catch more custom/3rd party AJAX search queries that were not being filtered.
  • Improvement: Added better handling for excluding queries and admin views from restrictions.
  • Improvement: Added filters for easier compatibility fixes with 3rd party plugins.
  • Improvement: Added support/fixes for BetterDocs custom AJAX searching.
  • Improvement: Added support/fixes for Blocksy theme custom AJAX searching.
  • Fix: Bug where $post->ID was used without checking if $post was set.
  • Developer: Added new filter content_control/get_rest_api_intent to allow 3rd party plugins to modify the REST API intent used in rule checks.

v2.2.8 – 05/07/2024

  • Fix: Issue causing some non-admin AJAX requests to the REST API from being run through protection checks.
  • Fix: Error when using page template rules & global $post is not set properly.

v2.2.7 – 03/20/2024

  • Improvement: Fix plugin preview blueprint file location.

v2.2.6 – 03/20/2024

  • Improvement: Add plugin preview blueprint support.

v2.2.5 – 03/20/2024

  • Improvement: Logic for protection being disabled was improved to be more efficient.
  • Fix: Bug with The Events Calendar showing blank screen when using Redirect restriction.
  • Fix: Bug where redirect based restrictions failed on The Events Calendar pages.
  • Fix: Typo in order of widget REST API check conditionals.

v2.2.4 – 03/20/2024

  • Fix: Enforced strict versioning in autoload build tool that recently auto updated causing the autoloader to suddenly leak unprefixed classes. This was causing random issues in combination with incompatible autoloading by other plugins.

v2.2.3 – 03/19/2024

  • Fix: Recurssion error with taxonomy queries due to calling setup_post during get_terms query. WooCommerce then setup global $product, which called another taxonomy query, and so on.
  • Fix: Bug when modified WP_Term_Query->terms arrays of ints were passed instead of epxected term objects.

v2.2.2 – 03/19/2024

  • Fix: Bug with new taxonomy query filter. For now this is limited to the REST API only.

v2.2.1 – 03/18/2024

  • Fix: Bug where the plugin had errors on taxonomy pages or queries.
  • Fix: Error when Term query taxonomy arg was not an array.

v2.2.0 – 03/17/2024

  • Feature: Add support for restricing content in the REST API.
  • Feature: Add support for terms in WP term queries.
  • Fix: Nav Menu Link user rule not working properly.
  • Fix: Prevent „Required Upgrade“ notices on new installs.
  • Tweak: Only show „Required Upgrade“ notices to admins with plugin management permissions.
  • Dev:: Added new field type userselect for choosing users with search.

v2.1.0 – 12/08/2023

NOTE: Plugin now requires PHP 7.4+ & WP 6.2+. The plugin likely still works on older versions, but now only officialy support these versions and up.

  • Improvement: Preloaded plugin settings on admin pages to decrease delay before settings are available to JS. This should help settings not showing up in the editor when first loading the page.
  • Tweak: Changed 'content_control/get_block_control_classes' filter to include the $controls found in the block.
  • Tweak: Various style improvements to admin pages for consistency.
  • Fix: Typo in fetching of taxonomy labels for rule generation. This could have led to rule search results not being shown with proper labels (or empty labels).
  • Fix: Block scanner running for all users, not just admins, triggered AJAX events that were denied every time author entered block editor.
  • Fix: Styling issues with WP 6.4 checkbox changes.
  • Fix: Bug when filtering restrictions in the list view and no results remained, causing the filters to not work properly witoout a page refresh.
  • Developer: Core plugin class now is extendible to allow addons to get full access to plugin internals.
  • Developer: Added useFields api which will be used in future versions of the plugin to allow 3rd party plugins to add their own fields to the restriction editor.
  • Developer: Added multiple new components for field organization and layout: FieldRow, FieldPanel.
  • Developer: Added new 'content-control.data.registry' hook in JavaScript to allow addons to register their own data stores for use in the editor & settings pages.
  • Developer: Added new 'content_control/restriction/bypass_user_requirements' PHP filter to allow addons to bypass user requirements for more specific restrictions.

v2.0.12 – 10/26/2023

  • Fix: Prevent extra 301 redirect due to missing trailing slash on some URLs.
  • Fix: Issue with Custom Message replacement not always working on pages built with Elementor.

v2.0.11 – 10/04/2023

  • Improvement: Query Monitor integration to show which restrictions are active on a page.
    • Shows global settings that may be affecting the page.
    • Shows which restrictions are active on the page.
    • Shows which posts are being filtered out of queries and by which restriction.
  • Tweak: Ensure upgrade stream doesn’t send headers if they were already sent.
  • Tweak: Make second arg on get_the_excerpt filter optional to prevent errors with some plugins.
  • Fix: Bug when using content_control/check_all_restrictions filter that caused rules to not compare properly.

v2.0.10 – 10/01/2023

  • Improvement: If no v1 global restrictions existed, skip the migration step entirely.
  • Improvement: Default to late init of post query filtering until after plugins_loaded should be finished. This should prevent help prevent random errors due to restrictions being checked before plugins have had a chance to register their post types, and thus restrictions won’t properly match those post type rules.
  • Improvement: Add check to prevent restriction checks for WP CLI requests.
  • Improvement: Add notice to indicate is when waiting for post/page search results in the restriction editor fields.
  • Tweak: Fix issue in build that caused autoloader to not fully use optimized classmap, should result in improved performance.
  • Fix: Ensure $wp_rewrite is available before calling is_rest() -> get_rest_url(). This should prevent errors when using the plugin with WP CLI and when plugins make WP_Query calls during plugins_loaded.
  • Fix: Don’t attempt to initialize side query filtering until after_theme_setup hook. This should prevent errors when plugins make WP_Query calls during plugins_loaded, and allow further delaying initialization if needed from themes functions.php file.
  • Fix: Backward compatibility issue with WP versions <6.2 that made settings page not render.
  • Fix: Bug where Block Controls didn’t work on WooCommerce pages. This was filtering pre_render_block but not returning a value. Now we run our check after theirs to ensure that bug has no effect on our plugin. Report

v2.0.9 – 09/24/2023

  • Improvement: Better handling of restriction titles & content. Admins with priv can insert any content into the restriction messages.
  • Improvement: Added new filter content_control/query_filter_init_hook to allow delaying query filtering for compatibility with plugins that make custom queries before template_redirect action.

    add_filter( 'content_control/query_filter_init_hook', function () {
    return 'init'; // Try setup_theme, after_theme_setup, init or wp_loaded
    } );

  • Tweak: Ensure our restriction checks work within a nested post loop.

  • Tweak: Change how restriction title & descriptions were sent/received over Rest API.
  • Fix: Bug that caused some shortcodes to not render properly.
  • Fix: Bug where override message wasn’t used.
  • Fix: Bug where Elementor Post loop would render incorrectly when using ACF fields in the loop template.

v2.0.8 – 09/22/2023

  • Tweak: Ignore many Elementor queries from being restricted.
  • Fix: Error when required upgrade was marked as complete.
  • Fix: Bug that caused secondary queries to be handled like main queries.

v2.0.7 – 09/21/2023

  • Tweak: Only log each unique plugin debug notice once to prevent filling log files quickly.
  • Tweak: Replace usage of wp_upload_dir with wp_get_upload_dir which is more performant.
  • Fix: Error in upgrades when no data is found to migrate.
  • Fix: Error when function is called early & global $wp_query is not yet available.
  • Fix: Conditional check that could always return false.
  • Developer: Implemented PHP Static Analysis to catch more bugs before they happen. Currently clean on lvl 6.

v2.0.6 – 09/19/2023

  • Improvement: Added data backup step to upgrade process that stores json export in the media library.
  • Improvement: Better error handling in the data upgrade process.
  • Fix: Fix bug in data upgrade process that caused it to never finish.
  • Fix: Possible error when no restriction match found in some custom` queries.

v2.0.5 – 09/18/2023

  • Fix: Fix errors on some sites with custom conditions due to registering all rules too early.

v2.0.4 – 09/18/2023

  • Fix: Error when WP Query vars include anonymous function closures.

v2.0.3 – 09/18/2023

  • Fix: Log errors instead of throwing exceptions to prevent uncaught exceptions turning into fatal errors.

v2.0.2 – 09/18/2023

  • Fix: Fatal error from error logger on systems without write access.

v2.0.1 – 09/17/2023

  • Fix: Fatal error from unregistered or unknown rule types from 3rd party plugins/themes or custom code. Now they are logged in plugin settings page.

v2.0.0 – 09/17/2023

  • Feature: Restrict individual blocks in the Gutenberg editor.
  • Feature: Restrict individual blocks in the Full Site Editor.
  • Feature: Use a custom page template for restricted content.
  • Feature: Restrict blocks by device type with customizable breakpoints.
  • Feature: Restrict blocks by user status & role.
  • Feature: Global restrictions now offer more control over how restricted content is handled.
    • Choose to redirect or replace content with a custom page.
    • Filter or hide posts in archives or custom loops.
    • Secondary controls for posts if found in an archive.
  • Improvement: Match or exclude specific roles.
  • Improvement: Updated interface with intuitive and responsive controls.
  • Improvement: Boolean editor improvements.
  • Improvement: Control who can modify plugin settings.
  • Improvement: Upgraded tooling & Code quality improvements.

v1.1.10 – 12/28/2022

  • Zabezpečení: Opravte neescapovaný výstup pro CSS classname v krátkém kódu [contentcontrol] umožňující uživatelům upravovat příspěvky a vkládat kód na stránku.

v1.1.9 – 09/30/2021

  • Oprava: Chyba při používání náhledu Gutenberg.

v1.1.8 – 07/17/2021

  • Oprava: Chyba při náhledu instance Elementor proptery byl null.

v1.1.7 – 07/17/2021

  • Oprava: Zabraňte upozornění, pokud v tabulce možností neexistuje nastavení widgetu.
  • Oprava: Libovolný limit 10 na aktuální položky uvedené v Editoru omezení kvůli výchozímu dotazu WP.
  • Oprava: Zabraňte aktivaci omezení při použití nástroje pro tvorbu stránek Elementor.

v1.1.6 – 03/21/2021

  • Oprava: Ověření Nonce bránilo pluginu 3rd v ukládání nastavení widgetu, když selhalo. Díky @jacobmischka
  • Oprava: Zabraňte poškozeným možnostem zabránit ukládání nastavení.

v1.1.5 – 02/22/2021

  • Oprava: Problém, kdy se role s - neuložily při zaškrtnutí.

v1.1.4 – 03/24/2020

  • Vylepšení: Přidáno zpracování gettextu pro několik řetězců, které nebyly přeložitelné.
  • Vylepšení: Zpracování krátkých kódů ve výchozím obsahu zprávy o odmítnutí.
  • Vylepšení: Různá vylepšení spolehlivosti formulářů a uživatelské zkušenosti.
  • Oprava: Problémy s vyhledávacími poli AJAX, která si po uložení nezachovala své hodnoty.
  • Oprava: Problém, kdy se zobrazovalo pouze 10 stránek.
  • Oprava: Opravy kompatibility PHP 7.4.

v1.1.3 – 12/03/2019

  • Oprava: Vlastní podmínky typu příspěvku nebyly vždy zaregistrovány.

v1.1.2 – 11/10/2019

  • Vylepšení: Odstraňte chybné zprávy .log konzoly v adminu.
  • Oprava: Závažná chyba při použití prázdného zkráceného kódu.

v1.1.1 – 10/15/2019

  • Oprava: Chyby, kdy proměnné nebyly vždy očekávaným typem.


  • Zlepšení: Přidána výchozí zpráva o odmítnutí do zkráceného kódu.
  • Zlepšení: Vykreslování vnořených krátkých kódů ve zkráceném kódu [content_control].
  • Oprava: Chyba, kdy se v editoru omezení kontrolovalo více rolí.


  • Oprava: Menší upozornění na aktivaci.


  • Oprava: Volání nedefinované funkce.


  • Oprava: Nestatická metoda volal staticky
  • Oprava: Chyba při použití neplatného typu proměnné.


  • První vydání