Woocommerce Easy Content Restriction self-updates
Makes restricting content based on user purchase easy
by SFNdesign, Curtis McHale · github.com/curtismchale/woocommerce-easy-content-restriction
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/curtismchale/woocommerce-easy-content-restriction/archive/refs/heads/main.zipShips its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.
Plugin Name
Adds content restriction features on top of WooCommerce products
Description
Allows you to restrict your content to users that have purchased your products.
Supports
- All WooCommerce product types
- WooCommerce Subscriptions
- bbPress forum restriction
- LearnDash
Installation
See full installation instructions at http://sfndesign.ca/easy-restrict-content-woocommerce-documentation/
Frequently Asked Questions
Does it support Sensei?
Not yet and I'm not sure it will since not enough people have asked for it
Are there time based content restrictions?
Allowing access to content for 3 weeks (or your number of choice) is slated for 1.3.
'Content Dripping' is slated for 1.4
The price WILL go up when these features are added.
Do you support BuddyPress
Not yet but it's on the list.
Changelog
1.2.9
- fixing properties not being call property
- removing fancy select box searching to support Gutenberg for now (we'll bring that back)
1.2.8
- updating the plugin activation routines
- basic learndash support
- jumped a version number because I made a mistake earlier
1.2.6
- added wecr_user_can_access_product filter that lets you override the restriction settings so you can code any access you want (like say from a Gravity Form submission)
- users with expired (trashed, not-paid) subscriptions will loose access to their bbPress forum subscriptions. THIS DOES NOT AFFECT OLD ORDERS JUST NEW ONES TRANSITIONING
- fixed wecr automatically restricting forums in bbPress even if it didn't need to
- remove PHP warnings if you haven't set a product on a post/page to restrict content by
1.2.5
- refactored the bbPress filters so they are in their own file since, dang it was getting hard to read
- added unit tests to start covering the bbPress content filters properly
- added wecr_bbp_hide_reply_content_global so you can change the global reply hidden message
- removed call to deprecated get_product and using wc_get_product which is it's replacement
- increased unit test coverage for the main plugin
1.2.4
- making the bbPress forums traverse parent forums for restriction settings
- stopped users with no access from being able to see the forms on topics
- updated documentation on a few functions
- updating to plugin updater 1.6
- properly adding variation products to the my account page so you can see content for those products
- properly dealing with subscriptions and variations in subscriptions for the my account content
- added checkbox to remove content from my account page
- more robust ancestor checking for bbPress replies
- killing foreach error in user_purchased_product by checking for empty array first
- added new filter wecr_bbp_forum_message_global which allows other languages to change the translations based on the response
- added new filter wecr_bbp_topic_message_global which allows other languages to change the translations based on the response
1.2.3
- updating to latest plugin updater scripts
- fixed continued DB upgrade warning introduced in 1.2.1
- fixed lack of paragraphs in custom messages
1.2.2
- fixes bug in display of restriction by multiple products UI
- updates to newer WooCommerce order status detection
- adds display of 'premium' content to the user My Account page
1.2.1
- adds support for restriction by multiple products
1.2
- Added support for WooCommerce Subscriptions
- handle grouped product default messaging better
- specific filters for default messages for specific product types
1.1
- added full variation product support
- fixed a bug in how the default product message showed
1.0
- Initial plugin release