AgeOnce Docs
WordPress

WordPress Plugin

AgeOnce integration with WordPress via official plugin

AgeOnce WordPress Plugin

The official AgeOnce plugin for WordPress lets you easily add age verification to your site.

The plugin supports WordPress 5.0+ and WooCommerce 5.0+

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

Quick Start

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 session until browser closes

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