Untitled

mail@pastecode.io avatar
unknown
plain_text
25 days ago
477 B
8
Indexable
Never
This part of code handles rendering Cloudflare Turnstile within each form. 

<div class="cf-turnstile" data-sitekey="'.cloudflare_key()[0].'" ></div>


To customize its appearance with either a light or dark theme, simply include the data-theme attribute:

//for light theme:
<div class="cf-turnstile" data-sitekey="'.cloudflare_key()[0].'" data-theme="light"></div>

//for dark theme:
<div class="cf-turnstile" data-sitekey="'.cloudflare_key()[0].'" data-theme="dark"></div>

Leave a Comment