• Resolved farcapone

    (@farcapone)


    Have an issue with conflict with Simple Membership Plugin. Is there any way to add support for this? Or is there any away I can filter so it does not run the turnstile on the form is on?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Elliot Sowersby

    (@elliotvs)

    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' )
            )
        );
    }
    Thread Starter farcapone

    (@farcapone)

    Okay thanks, any possibility of adding Simple Membership Plugin with your other supported forms and integrations?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with Simple Membership Plugin’ is closed to new replies.