How to insert in the third party registration page?
Opened this issue · 2 comments
qinastar commented
Hello dear author, my site uses a custom registration page, how do I add verify to this page and work?
frugan-dev commented
Same for me..
frugan-dev commented
I found this solution, I hope it will help you..
<?php // put this in your custom login form
if (function_exists('cfturnstile_field_login') && get_option('cfturnstile_login')) {
if (empty(get_option('cfturnstile_tested')) || get_option('cfturnstile_tested') === 'yes') {
cfturnstile_field_login();
}
}
?>
<?php // put this in your custom recovery form
if (function_exists('cfturnstile_field_reset') && get_option('cfturnstile_reset')) {
cfturnstile_field_reset();
}
?>
<?php // put this in your custom registration form
if (function_exists('cfturnstile_field_register') && get_option('cfturnstile_register')) {
cfturnstile_field_register();
}
?>