Assets

This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, contact a developer for assistance. We are unable to provide support for customisations under our Support Policy.

Below are the Javascript files that can be loaded in Age gate version 3.

On occasion it can be useful to know their paths to omit then from caching tools. Dequeuing is not recommended.

All files reside in <yourdomain>/<plugins-path>/age-gate/dist, so a typical path could be example.com/wp-content/plugins/age-gate/dist

List of JavaScript resources

Script When
hooks.js If JavaScript hooks are enabled in the Advanced settings
stepped.js If stepped inputs is enabled in the Restriction settings
age-gate.js When using JavaScript mode (Advanced settings)
standard.js When using Standard mode (Advanced settings)
all.js Always enqueued. Checks for cookie support
shortcode.js Enqueues when an Age Gate shortcode is used
autotab.js If "Auto tab inputs" option is enabled in the Appearance settings
simplebar.js If "simplebar" option is enabled in the Appearance settings
focus.js If "Trap focus" option is enabled in the Advanced settings
interaction.js If "Disable right click and F12" option is enabled in the Advanced settings