WordPress
WordPress Plugin
AgeOnce integration with WordPress via official plugin
AgeOnce WordPress Plugin
The official AgeOnce plugin for WordPress lets you add privacy-first age verification to WooCommerce checkout, optional store signup, products, posts, pages, and custom post types.
Start with the AgeOnce free plan. No credit card is required for the free tier, and most WordPress stores can test the plugin in 5-10 minutes.
Features
- WooCommerce checkout — age verification before payment for restricted products
- Store signup — optional gate on WooCommerce My Account registration (off by default)
- Content restriction — protect pages, posts, and products by category or per-item
- Manual locking — optional metabox to restrict individual posts/pages
- Verification proof — save transaction ID and verification time on WooCommerce orders, and on the logged-in WordPress user
- Developer hook — run your own PHP after a successful verification (
ageonce_verification_completed) - Flexible rules — configure 16+, 18+, and 21+ thresholds for different content
Quick Start
Installation
Download and activate the plugin
Settings
API keys and parameters configuration
WooCommerce
Checkout protection for 18+ products
Content Restriction
Page and category protection
Developer hooks
Custom code after a successful verification
Setup checklist
- Install the plugin from WordPress.org
- Create an AgeOnce account and start with the free plan or choose a paid plan
- Copy the Redirect URI shown in AgeOnce settings inside WordPress
- Add that Redirect URI to your AgeOnce dashboard
- Paste your Client ID and Client Secret into WordPress
- Select restricted WooCommerce products, categories, posts, pages, or custom post types
- Test the checkout or content gate in an incognito browser window
How it works
- User attempts to access protected content
- Plugin redirects to AgeOnce for verification
- After successful verification, user returns to the site
- Result is stored in the WooCommerce session, a cookie, or on the logged-in WordPress user
- For verified WooCommerce orders, the plugin stores verification metadata for audit and support
Requirements
- WordPress 5.0 or newer
- PHP 7.4 or newer
- WooCommerce 5.0+ (optional, for checkout and customer signup protection)
- SSL certificate (HTTPS)
- Active AgeOnce account