| 开发者 | cookiehug |
|---|---|
| 更新时间 | 2026年9月14日 05:14 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<head> on every page.wp-content/plugins/cookiehug/.Click Open CookieHug dashboard on the plugin settings page. Everything is configured there. The plugin never exposes those controls locally — that's intentional.
No. The plugin stores a license key, a connection key (hashed on the server), and a domain ID. No visitor data ever touches the plugin — consent events go directly from the banner script to the CookieHug backend.
Deactivation stops the snippet from loading. Uninstall (Plugins → Delete) removes all cookiehug_* options and transients. The remote connection is not revoked automatically on uninstall — do that from the plugin's settings page before deleting, or from the CookieHug dashboard.
Yes — add to wp-config.php:
add_filter( 'cookiehug_api_base', function() { return 'https://cookiehug.test'; } );
[cookiehug_declaration] shortcode: renders the cookie declaration table on any page or post (the loader is enqueued only where the shortcode is used).