| 开发者 | cmplyapp |
|---|---|
| 更新时间 | 2026年8月3日 20:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<head> at a very early priority and intentionally does not add defer or async, matching CMPly's recommended integration for blocking third-party scripts before they execute.
Features:
/wp-content/plugins/cmply.CMPly must execute during HTML parsing so it can intercept and block third-party scripts before they run. Adding defer or async would make blocking less reliable.
Turn off Auto-inject SDK in Settings > CMPly and keep the manual script near the top of the document head. Keep only one CMPly SDK script on the page.
The button opens the CMPly web app with your WordPress site URL, return URL, and a signed WordPress callback-state token that expires after 30 minutes. CMPly separately returns a ten-minute, single-use authorization code. WordPress exchanges that code with CMPly over HTTPS and stores the resulting credentials server-side.
Yes. Add one path per line in Exclude Paths, for example:
/checkout/*
The WordPress plugin stores only its admin settings in the WordPress database. The public consent cookie is created by the CMPly SDK in the visitor's browser.