AgeOnce Docs
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, 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 18+ products
  • 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
  • Flexible rules — configure 16+, 18+, and 21+ thresholds for different content

Quick Start

Setup checklist

  1. Install the plugin from WordPress.org
  2. Create an AgeOnce account and start with the free plan or choose a paid plan
  3. Copy the Redirect URI shown in AgeOnce settings inside WordPress
  4. Add that Redirect URI to your AgeOnce dashboard
  5. Paste your Client ID and Client Secret into WordPress
  6. Select restricted WooCommerce products, categories, posts, pages, or custom post types
  7. Test the checkout or content gate in an incognito browser window

How it works

  1. User attempts to access protected content
  2. Plugin redirects to AgeOnce for verification
  3. After successful verification, user returns to the site
  4. Result is stored in the WooCommerce session or a cookie
  5. 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 protection)
  • SSL certificate (HTTPS)
  • Active AgeOnce account

On this page