Description
Metered Content for WooCommerce adds flexible access plans and a publisher-friendly paywall to WordPress.
- Unlimited access plans or a fixed number of unique articles per day, week, month, or year.
- Repeat reads of the same article do not consume another credit in the same period.
- Metered paywall: let readers without a plan open a number of free articles per period before the paywall.
- Restrict individual posts, whole post types, or any category, tag, and custom-taxonomy term.
- Sell plans with ordinary WooCommerce products as fixed-duration passes; buying again extends the pass.
- Automatically recognize active WooCommerce Subscriptions when that extension is installed.
- Refunded or cancelled orders revoke the access they granted.
- Manual grant and revoke from the user profile.
- Hard, partial-preview, and metered paywall presentations.
- Shortcodes for partial-content protection, remaining usage, and pricing.
- A WooCommerce My Account screen with plan usage and reading history.
- Registration wall: visitors who run out of free articles are asked to create a free account for more, before being asked to pay.
- Gift links: members share a link that opens one premium article for anyone, with a monthly limit and an expiry.
- Expiry reminder e-mails before and after a pass expires, managed as WooCommerce e-mails.
- Reports: reads, paywall views, sign-ups and purchases started at a paywall, attributed revenue, gift usage, top articles and active passes.
Notes
- Guests must create an account when the cart contains a plan product, because access is attached to the account. Filter
wcmc_require_account_for_plansto disable this; guest orders are then granted once WooCommerce links them to an account. - Metered free reads for visitors are tracked in a signed cookie, and metered premium pages are excluded from page caching (
DONOTCACHEPAGEplus no-cache headers). - Only users with the
manage_optionscapability (filterwcmc_manage_capability) can manage plans, settings and manual grants. - Reports count paywall views on article pages that are not served from a full-page cache; hard-paywall pages for visitors may be cached and undercounted.
- Gift tokens are signed with the site salts; changing the salts invalidates outstanding gift links.
Shortcodes
[wcmc_premium_content plan="pro,unlimited"]Protected content[/wcmc_premium_content]
[wcmc_subscriber_only]Visible to members[/wcmc_subscriber_only]
[wcmc_non_subscriber_only]Visible to visitors without a plan[/wcmc_non_subscriber_only]
[wcmc_remaining_articles]
[wcmc_pricing_table]<h3>Hooks</h3>
Filters: wcmc_access_result, wcmc_restriction, wcmc_paywall_args, wcmc_paywall_html, wcmc_teaser_text, wcmc_plans_url, wcmc_bypass_paywall, wcmc_should_meter_visitor, wcmc_require_account_for_plans, wcmc_manage_capability, wcmc_supported_post_types, wcmc_active_subscription_statuses, wcmc_reads_retention_days, wcmc_enqueue_frontend_style, wcmc_can_gift, wcmc_gift_box_html, wcmc_gift_notice_html.
Actions: wcmc_plan_granted, wcmc_plan_revoked, wcmc_read_recorded, wcmc_visitor_read_recorded, wcmc_paywall_rendered, wcmc_order_granted, wcmc_gift_created, wcmc_event_logged.
Screenshots





Installation
- Activate WooCommerce.
- Activate Metered Content for WooCommerce.
- Open Metered Content > Add Access Plan and publish at least one plan.
- Associate a WooCommerce product with paid plans, or leave the product empty for a free registered-user plan.
- Configure global rules under Metered Content > Settings, or use the Content Access panel on individual posts.
FAQ
-
Does it need WooCommerce?
-
Yes. Plans are sold as ordinary WooCommerce products, so WooCommerce must be active. A plan without a product is a free plan for every logged-in user.
-
Does it work with WooCommerce Subscriptions?
-
Yes, optionally. When WooCommerce Subscriptions is installed, an active subscription to a plan product keeps the plan active. Without it, plans are fixed-duration passes.
-
Is it compatible with HPOS?
-
Yes. It declares compatibility with WooCommerce custom order tables and the Cart and Checkout blocks.
-
Does it contact any external service?
-
No. Everything runs on your own site.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Metered Content for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Metered Content for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
