WordPress.org

Forums

Sweet Captcha
sweetcaptcha and woocommerce (2 posts)

  1. ericgf
    Member
    Posted 9 months ago #

    Hi,
    I just activated this plug in and it appears to work fine for the default WordPress Login, but it won't work for the WooCommerce Log in.

    It appears to work properly for "Register" option WooCommerce but no where else.

    https://wordpress.org/plugins/sweetcaptcha-revolutionary-free-captcha-service/

  2. ericgf
    Member
    Posted 9 months ago #

    after checking the sweetcaptcha.php I found why it only works for register option, so I added the code for the login form in the appropriate section under the if statement for the // add Sweet Captcha to login form.

    // add woocommerce login form
    add_action('woocommerce_login_form', 'sweetcaptcha_login_form');

    the woocommerce "lost password" can also work if you add the php shortcode for sweetcaptcha directly into woocommerce lost-password template, but I'd rather have everything within the sweetcaptca code.

    is there any easier method?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.