LLMS_Turnstile::render()
Add the Turnstile widget to the checkout and registration forms.
Contents
Return Return
(void)
Source Source
File: includes/spam/class-llms-turnstile.php
public function render() {
if ( ! $this->is_enabled() ) {
return;
}
if ( is_admin() ) {
return;
}
?>
<div class="cf-turnstile" data-sitekey="<?php echo esc_attr( $this->site_key ); ?>"></div>
<?php
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 9.0.0 | Introduced. |