| 开发者 |
agewallet
cookedbiscuits |
|---|---|
| 更新时间 | 2026年7月12日 19:32 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[agewallet_protected] shortcode for inline content. WooCommerce is supported out of the box with three checkout-gate modes and per-product / per-category regulated flagging.
Every verification can carry an opaque metadata payload (≤4KB) that round-trips through the OIDC flow and surfaces on the /userinfo response, letting integrators correlate verifications with their own backend records.
For the full feature enumeration see Other Notes; for setup walkthroughs, the available CSS hooks, and the developer-hook list, see the Usage Guide, CSS Customization Guide, and Developer Hooks sections below.
/wp-content/plugins/agewallet directory, or install the plugin through the WordPress plugins screen directly by uploading the .zip file./agewallet/callback/) are registered./shop/, /videos/premium/).[agewallet_protected] shortcode for specific page elements./userinfo response.Yes. The plugin is a client for the AgeWallet OIDC age-verification service. Register a business account at https://app.agewallet.io/register to obtain a Client ID and Client Secret, then enter them on the plugin's Credentials screen. New accounts receive $5 of free verification credit to get you started.
Yes. Standard (Overlay) mode is fully cache-compatible — the page HTML is the same for every visitor and the gate is enforced client-side. High Security (Strict) mode uses a split-cache system that ships a cookieless "Skeleton" page from cache and fetches the real content via an authenticated API call once the visitor is verified, so it works with "Cache Everything" rules.
Yes. The plugin integrates with WooCommerce checkout. You can gate every checkout, gate only when the cart contains regulated items, or leave checkout ungated. Regulated status can be set per-product, per-category, or per-tag.
Upload your logo, customize the headline and body copy via the WYSIWYG editor, and override CSS through the Custom CSS field on the Gate Appearance settings tab. See the in-dashboard Plugin Guide page for the full list of CSS classes.
The plugin stores a signed HMAC verification cookie on the visitor's browser indicating that they passed age verification. No personal identifying information is stored on your WordPress site — verification is handled by the AgeWallet service, and only the pass/fail outcome reaches your site. See AgeWallet's End-User Privacy Policy (https://agewallet.com/end-user-privacy-policy/) for full details.
Deleting the plugin from the Plugins screen runs uninstall.php, which removes all agewallet_* options, transients, scheduled cron events, and the strict-mode HTML cache directory. Verification cookies on visitor browsers expire on their own.
[agewallet_protected] shortcode.[agewallet_protected] shortcode no longer triggers the full-page overlay on otherwise-ungated pages — it renders its inline placeholder only.agewallet_skeleton_head / agewallet_skeleton_footer action hooks listed in the Developer Hooks guide.agewallet-oidc-client. Plugin folder, main file, and Text Domain header aligned.agewallet_custom_css, agewallet_head_scripts, and agewallet_footer_scripts options are removed; their stored values (if any) are cleared by uninstall.php on plugin deletion.WC requires at least / WC tested up to plugin headers and declared WooCommerce High-Performance Order Storage (HPOS) compatibility.uninstall.php for clean removal of options, scheduled cron events, and the strict-mode cache directory.agewallet_auto_metadata (array, before encoding) and agewallet_metadata (final string, after encoding). Read back with agewallet_get_metadata().agewallet_wc_checkout_metadata, agewallet_cart_has_regulated_items, agewallet_regulated_cart_triggers.agewallet_get_metadata() and AgeWallet_Helpers::get_verified_cookie_payload(). Cart-inspection methods exposed on AgeWallet_WooCommerce: checkout_gating_mode, cart_contains_regulated_items, get_regulated_triggers, product_is_regulated. Programmatic flagging via post meta (_agewallet_regulated_status on products) and term meta (agewallet_regulated on product_cat and product_tag).