Sweet Captcha
sweetcaptcha and woocommerce (2 posts)

  1. ericgf
    Posted 1 year ago #

    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.


  2. ericgf
    Posted 1 year 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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.