WooCommerce Restrictions

Starting Price: $129.00


Download 30-Day Free Trial

WordPress membership management, designed for WooCommerce. As a shop owner, you create 'Restrictions' and sell access to them with WooCommerce Products. Restrictions are an easy way to protect Posts, Pages, Categories, Tags, BuddyPress, bbPress, URIs, and more. When a user completes checkout, they automatically gain access to specific areas of your site through Customer Permissions attached to WooCommerce Products of your choosing.

_**Bonus:** Includes a free copy of [`` Shortcode Pro™](/product/if-shortcode-pro)_


Earn up to 1934 Points.

Built by Jason Caldwell
SKU: woocommerce-restrictions-pro Category: Tags: ,


Protect Posts, Pages, Tags, Categories, Role-Based Capabilities, Custom Capabilities, and/or specific URIs matching a list of patterns you configure. Sell access via WooCommerce using simple Products, variable Products, or even grouped Products. If you're running WooCommerce Subscriptions (sold separately) you can also charge on a recurring basis via simple & variable Subscriptions.


Compatible With

Also Compatible With

... and many other popular extensions for WooCommerce.

Open in New TabProduct Knowledge Base

Additional DetailsSystem Requirements

This product installs just like any other theme/plugin for WordPress. Like most of our products, it also installs the WP Sharks Core™ framework when you activate it. Our framework satisfies nearly all dependencies for you. However, you do need a shared hosting provider (we recommend the MediaTemple Grid), a VPS, or dedicated server.

WP Sharks Core Requirements

Processor 64-bit processor (or better)
PHP v7.0.4 (or higher); tested up to 7.1.3
WordPress v4.7 (or higher); tested up to 4.8-alpha

Additional Product-Specific Requirements

WooCommerce v2.6.2 (or higher)

Open in New TabProduct Changelog


  • Updating minimum required version of the WP Sharks Core.
  • Minor tweaks in styles/scripts to enhance dependency order.
  • Bug fix. Illegal offset set when protecting by URI Pattern.
  • Bug fix. Call to undefined method a::collectPostMeta(). Should be s::.
  • Enhancing security by removing basename(__FILE__) from direct access notices.


  • Enhancing Dashboard styles and help icons.
  • Removing references to s2Member in favor of just ‘WooCommerce Restrictions’.


  • Bug fix. Security gate expanded to now cover archive views and other non-singular queries.
  • Options UI. Removing configurable option security_gate_redirect_to_args_enable in favor of a filter.
  • Adding security_gate_redirect_arg_name filter.
  • Adding $history arg to secondary install handler.


  • Adding a configurable options page. See: Dashboard → Restrictions → Options
  • Refactored Product/Restriction methods related to meta keys. Now taking advantage of WP Sharks Core utilities.
  • Reduced complexity of codebase by removing several classes where the only reason for it existing was to reference a WooCommerce post type.


  • Tested for compatibility against WordPress v4.6.
  • Bug fix. Editors should be granted permission to create Restrictions by default.
  • Bug fix. The uninstall handler now removes the Restriction Taxonomy Terms automatically as it should.


  • Updating to the latest WP Sharks Core.
  • Enhancing docBlocks throughout the source code.
  • Updating template files. Use $this->vars instead of $this->current_vars.


  • Updating to the latest WP Sharks Core v160718.53795.
  • Adding REQUIRES.md file to list WooCommerce as a formal requirement.


  • Updating to latest WPS Core.


  • Updating to the latest WP Sharks Core.


  • Pulling the [if /] shortcode out into a separate plugin before official release.


  • Bug fix. Use WC_Product->get_id() instead of ->id property, which may not return the correct ID for variations.


  • Updating to latest WPSC.
  • Updating Git dotfiles.
  • Branch rename; 000000-dev now just dev.
  • Adding current_user_option="" attribute to [if /] shortcode.
  • Adding current_user_meta="" attribute to [if /] shortcode.


  • Future-proofing WC_Product usage in code.


  • Rebranding. Adding woocommerce- prefix.


  • Updating to latest WPSC.
  • Bug fix. woocommerce_order_given is an action not a filter.


  • Moving Order Item utilities to the WPSC.
  • Refactor order item meta hook. Deepening the integration to cover a larger array of WC extensions.
  • Adding support for WooCommerce Give Products extension.


  • Updating to the latest WPSC.


  • Updating to the latest WPSC.

  • Changing the Restriction access prefix in conditionals from access_res_ to access_pkg_ as this more accurately describes what is being tested. The pkg portion of this suggests you are testing for access to more than one thing, which is exactly the case; i.e., testing for access to an entire Restriction that may offer access in the form of a package. The access_pkg_ prefix works better with most of the code samples I have been working with; e.g., [if current_user_can="access_pkg_pro"] seems better than the term Restriction in the context of what a customer can do.


  • Bumping to WPSC minimum: v160601.61851.
  • Adding custom installation notice template.
  • Now collecting license key on install via WPSC updater. However, the license key is not functional yet as there is no API that can authenticate it. Coming soon.


  • Updating to latest WP Sharks core.
  • Adding support for WC logging and WC log files.
  • Enhance debugging utilities and log file generation.
  • Enhancing Restriction UI. See: https://github.com/websharks/woocommerce-restrictions/issues/3
  • Bug fix. E_NOTICE level error whenever WC Subscriptions was missing and Order was saved.


  • Initial alpha release.

Open in New TabProduct Release Archive

Latest Stable Release

We strongly suggest that you always run the latest stable release.

March 16th, 2017@ 12:10 am UTC (stable)v170316.637.zip (215.71 kbs)

Latest Bleeding Edge

Please be warned. This is beta quality. It may contain bugs or even bring down your site.

March 30th, 2017@ 11:42 am UTC (unstable)bleeding-edge.zip

Historical Release Archive

If you're having trouble with the latest stable release, you can revert back to a previous release.

September 9th, 2016@ 4:14 pm UTC (stable)v160909.58455.zip (202.33 kbs)


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Product Enquiry