Available Validators
Below are all the available validation methods that can be used when creating custom form fields for…
Below are all the available validation methods that can be used when creating custom form fields for…
In this guide, we’ll be adding multiple fields that aren’t validated by default by Age Gate, ensure…
Allows customisation to the challenge question when using buttons to validate. Two parameters are passed to the…
Filter for adding custom form fields after the default fields…
Filter for adding custom form fields before the default fields…
Applies a filter to the messages Age Gate displays. This takes three parameters: $html: The generated markup…
Allows the logo set for Age Gate to customised. This accepts two parameters: $html: the generated markup…
Allows customisation of the loading icon used in JavaScript mode. Receives the default SVG markup: <svg version="1.1"…
Adds custom content to the start of .age-gate-wrapper Note: If using a background image set in…
Fired on certain archive types as follows: age_gate_archive_day age_gate_archive_month age_gate_archive_year age_gate_archive_author age_gate_archive_archive age_gate_archive_notfound…
Allows customisation of the final age restriction of the content. This is passed two parameters $age: The…
Fires in selected content mode if no restriction is set…
Fires when the content has been set to bypass in all content mode…