• Resolved panzitta

    (@panzitta)


    I am just looking to move the position of the captcha box. Right now it sits in-between the address info and the card payment info boxes on my WooCommerce checkout page and is very easy to overlook. Normally you would see a captcha at the end right before the submit order button. How can I move it so it shows up there instead?

    • This topic was modified 1 year, 4 months ago by panzitta.
Viewing 1 replies (of 1 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    We don’t have an option for that. The captcha box gets added in the default order of the fields.

    You can try setting a priority for when it’s added by editing advanced-google-recaptcha/inc/core.php around line 310:

    add_action( 'woocommerce_checkout_process', 'advanced_google_recaptcha_check_woo_checkout_form' );

    and change that to:
    add_action( 'woocommerce_checkout_process', 'advanced_google_recaptcha_check_woo_checkout_form', 1);

    if you want it to run sooner or:
    add_action( 'woocommerce_checkout_process', 'advanced_google_recaptcha_check_woo_checkout_form' , 1000);

    if you want it to run later.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I move the position of the captcha box?’ is closed to new replies.