The AcrossAI blog
Archives: Abilities
Get Google Consent Mode
The Google Consent Mode configuration — whether it is on, what each consent type defaults to before a visitor chooses, and the related delivery…
Update Google Consent Mode
Switch Google Consent Mode on or off and set its delivery options. The value is read back afterwards and a mismatch is reported rather…
Get Cookie Scan Status
When this site was last scanned for cookies, whether that scan succeeded, and the plan limits that apply. Scanning runs on the consent service…
Get Reported Google Consent Mode Status
The Google Consent Mode status as the consent service reports it — the confirmation that the configuration is actually reaching Google. Needs a linked…
List Code Snippets
Every WPCode snippet with its code type, active state, auto-insert location and priority — and whether the loader cache holds it, which is what…
Get Code Snippet
One snippet in full — code, type, active state, auto-insert location, priority, tags, conditional logic and the last error WPCode recorded against it.
Create Code Snippet
Create a snippet of any supported type. It is created inactive, and goes through WPCode’s own save routine so the loader cache, the code-type…
Update Code Snippet
Change an existing snippet’s code, title, note, priority, tags or shortcode. If the snippet is active, WPCode re-runs its activation check on save —…
Activate Code Snippet
Switch a snippet on. For PHP and universal snippets WPCode test-runs the code first and quietly leaves it off if it errors — this…
Deactivate Code Snippet
Switch a snippet off. The code is kept, so it is fully reversible — and it is the right first move when a snippet…