| 开发者 | webkoding |
|---|---|
| 更新时间 | 2026年9月5日 03:36 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[agewall] shortcode and the AgeWall block.webkoding-agewall text domain and a languages/webkoding-agewall.pot template is included.agewall/register_providers), supply your own rule set (agewall/rules), resolve the visitor's country (agewall/visitor_country), observe every verification attempt (agewall/verification_attempt), and add your own settings tabs and admin screens (agewall/settings_tabs, agewall/admin_menu).
webkoding-agewall folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen.It genuinely withholds the content on the server. Restricted content is never placed in the HTTP response for an unverified visitor, so it cannot be exposed by disabling JavaScript, editing CSS, or viewing the page source. This depends on the rule's action, and the difference is important: withhold and redirect are content-withholding — the protected page is never rendered or sent to an unverified visitor — and withhold is the default. Overlay is a soft/SEO mode: the page still renders and is sent in the response with the gate painted over it, so use it only when you want search engines and existing rankings to keep seeing the page, not when the content must actually be withheld.
Confirmation ("I am over N") and self-declared date of birth. Both are checked on the server, and a visitor verified by the stronger method also satisfies the weaker one.
None. AgeWall stores no personal data about your visitors, creates no database tables, and makes no third-party requests. A visitor's proof of age is held in a signed cookie that records only the scope, the minimum age and the method it was granted for — never a date of birth.
No. Every visitor is held to the same rule, which you set once in Settings. The plugin does not geolocate visitors and does not vary the minimum age by country. Developers can hook agewall/rules and agewall/visitor_country to match on their own criteria.
Yes. Implement Agewall\Providers\ProviderInterface and register it on the agewall/register_providers action. It will appear automatically everywhere a method can be chosen.
Yes. Every user-facing string uses the webkoding-agewall text domain, and a languages/webkoding-agewall.pot template is bundled for translators.