WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Pankaj Agrawal v1.5

Visibility Control for WooCommerce

Visibility Control for WooCommerce helps you hide or show messages, menu and content for specific criterion anywhere on your WordPress page.

Visibility Control for WooCommerce

The facts

Rating
5★ from 2
Active installs
100+
Price
Free
Last updated
11 Sep 2025
Added
Feb 2020
Requires WP
4.0
Tested up to
WP 6.8.8
Requires PHP
5.6
Downloads
4,689

Our analysis

AI-assisted

Visibility Control for WooCommerce is a WordPress plugin designed to manage the visibility of messages, menus, and content based on specific user criteria. It allows you to show or hide HTML elements depending on whether a user has purchased a particular WooCommerce product, or whether they are logged in or out.

To use the plugin, you apply specific CSS classes to your elements. For example, you can make an element visible to users who have purchased a certain product by adding a class like 'visible_to_product_123'. This plugin is suitable for WooCommerce store owners who want to tailor the user experience based on purchase history or user status.

Best for: This plugin suits WooCommerce store owners looking to customise user experiences based on purchase history or login status.

What it does well

  • Free to use from the WordPress.org directory
  • Allows granular control over content visibility
  • Supports user role-based visibility management
  • Easy implementation using CSS classes
  • Regularly updated, with the last update in September 2025

Where it falls short

  • Limited feature information available
  • No settings or shortcodes currently available
  • Hidden elements can still be accessed via the browser's inspect tool

Verdict

Visibility Control for WooCommerce offers a straightforward way to manage content visibility, though it may require some technical knowledge to implement effectively.

From the developer

Pankaj Agrawal's own description of Visibility Control for WooCommerce, lightly tidied.

Visibility Control for WooCommerce helps you hide or show messages, menu and content for specific criterion anywhere on your WordPress page.

You can show/hide HTML elements, menus, and other details based on:
1. User’s purchase of a particular WooCommerce Product or Variation, Or
2. User is Logged In or Logged Out.

You simply need to add a CSS class to your element div or span. As explained here:

Example:

If Product or Variation ID is 123

  • To show the element/menu item to user who purchased above product, add this CSS class: visible_to_product_123
  • To hide the element/menu item from user who purchased above product, add this CSS class: hidden_to_product_123
  • To show the element/menu item to a logged-in user, add this CSS class: visible_to_logged_in OR hidden_to_logged_out
  • To hide the element/menu item from a logged-in user, add this CSS class: visible_to_logged_out OR hidden_to_logged_in

For user’s role:
* To show the element/menu item to a user will role administrator, add this CSS class: visible_to_role_administrator OR hidden_to_role_administrator
* Note: To show an element to multiple specific roles only, you need add the element multiple times, one for each role. To hide an element/menu from specific multiple roles only you can add the element once add multiple classes to the same element.

Mechanism of Functioning

  • Multiple CSS Classes: If multiple visibility control classes are added, ALL of them must meet the criterion to keep the element visible. If any one of them hides the element, it will be hidden. For example: visible_to_product_123 visible_to_product_124 will show the element only to those who have purchased to both products.
  • Hidden data/elements reaches the browser. Though user’s do not see it.
  • CSS is added to the page for all CSS elements that needs to be hidden based on above rules.
  • After page is loaded. These elements are removed from page using jQuery (if available), so it won’t be available even on Inspect.
  • Elements rendered after the page load are hidden but not removed from DOM/page.

Future Development

Depending on the interest in this feature, we will decide on adding a setting, shortcode and/or a Gutenberg Block option to achieve this feature.

Other Visibility Control Plugins:

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for teaching online.

WP Encryption

Lifetime SSL solution - Free SSL certificate & HTTPS redirect, fix insecure site / SSL errors, Security he...

Free 50k+ installs 4.9★ (1,143)
WP Force SSL & HTTPS SSL Redirect

Enable SSL & HTTPS redirect with 1 click! Add SSL certificate & WP Force SSL to redirect site from HTT...

Free 80k+ installs 4.7★ (179)
Uncanny Automator

The AI + Automation plugin for WordPress. Automate workflows across all your plugins and apps, add an AI agent...

Free 40k+ installs 4.9★ (156)
Bit integrations

Contact Form, Google Sheet, MailChimp, Brevo, Webhook, Zoho CRM Automation and Integration plugin that Connect...

Free 20k+ installs 4.9★ (160)
SSL Zen

SSL Zen

86

Free SSL certificate for WordPress — install a Let's Encrypt SSL, force HTTPS, fix mixed content and redi...

Free 10k+ installs 4.9★ (664)
Auto-Install Free SSL

Generate & install Free SSL Certificates for WordPress, HTTPS redirect, get PADLOCK in the browser, get au...

Free 8k+ installs 4.9★ (404)