Support » Plugin: WP No-Bot Question » Protect WooCommerce registration

  • Adding this to line 58 will protect the WooCommerce registration option on /my-account/

    // Check if WooCommerce is active and if so, protect it's registration form
    if(in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
    	add_action('woocommerce_register_post', 'wp_nobot_question_filter', 10 ,3);
    }

    Would be useful if it were added to the next version.

    https://wordpress.org/plugins/wp-no-bot-question/

  • The topic ‘Protect WooCommerce registration’ is closed to new replies.