v2

age_gate_field_names

Allows setting of custom field names in error messages. This take one parameter in array format and…

Read more

age_gate_restricted

Fired directly before Age Gate marks content as requiring challenge. This accepts two parameters: $restricted: true…

Read more

Working with other plugins

Stored user Date of Birth Other plugins may hold data about your users, for instance a date…

Read more

age_gate_form_{$status}

This action is triggered whenever a user submits the Age Gate. The dynamic portion of the filter…

Read more

Adding Custom Form Fields

In Age Gate v2 you can add custom fields to the challenge form. The following steps show…

Read more

Access Settings

Each section of Age Gate can be restricted particular roles in the WordPress admin area. This can…

Read more

Advanced

Caching If you have a caching solution, it is best to use a JavaScript triggered version of…

Read more

Appearance

Appearance settings Option Description Logo Choose a logo to display on the Age Gate…

Read more

Messaging

Messages Name Description Since Headline The headline text shown on Age Gate 1.0.0 Sub headline…

Read more

Restriction settings

Options reference Option Description Default age The age a user must be to view the content…

Read more