[ad_1]
Hi,
Yes there are filters you can use for the login and register checks:
cfturnstile_wp_login_checks
cfturnstile_wp_register_checks
Should return true to skip Turnstile check.
This is an example we include in the plugin, of using this filter for support with EDD auto-login:
// EDD Default Login Check
add_filter('cfturnstile_wp_login_checks','cfturnstile_edd_default_login_check');
function cfturnstile_edd_default_login_check() {
// Return true if any EDD purchase process has occurred.
return (
function_exists( 'did_action' ) && (
did_action( 'edd_purchase' ) ||
did_action( 'edd_straight_to_gateway' ) ||
did_action( 'edd_free_download_process' )
)
);
}
