'tab_captcha', 'class' => 'tab-content', 'label' => __('Captcha', 'advanced-google-recaptcha'), 'callback' => array(__CLASS__, 'tab_captcha')); $tabs[] = array('id' => 'tab_captcha_location', 'class' => 'tab-content', 'label' => __('Where To Show', 'advanced-google-recaptcha'), 'callback' => array(__CLASS__, 'tab_captcha_location')); echo '
'; echo ''; foreach ($tabs as $tab) { if (is_callable($tab['callback'])) { echo ''; } } // foreach echo '
'; // second level of tabs } // display static function tab_captcha() { $options = WPCaptcha_Setup::get_options(); echo '
'; echo ''; $captcha = array(); $captcha[] = array('val' => 'disabled', 'label' => 'Disabled'); $captcha[] = array('val' => 'builtin', 'label' => 'Built-in Math Captcha'); $captcha[] = array('val' => 'icons', 'label' => 'Built-in Icon Captcha', 'class' => 'pro-option'); $captcha[] = array('val' => 'recaptchav2', 'label' => 'Google reCAPTCHA v2'); $captcha[] = array('val' => 'recaptchav3', 'label' => 'Google reCAPTCHA v3'); $captcha[] = array('val' => 'hcaptcha', 'label' => 'hCaptcha', 'class' => 'pro-option'); $captcha[] = array('val' => 'cloudflare', 'label' => 'Cloudflare Turnstile', 'class' => 'pro-option'); echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
Captcha or "are you human" verification ensures bots can\'t attack your login page and provides additional protection with minimal impact to users.'; echo '
'; WPCaptcha_admin::footer_save_button(); echo '
'; echo '
'; echo ''; echo '
'; echo '

Captcha Disabled

'; echo '
    '; echo '
  • No Additional Security
  • '; echo '
'; echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo '

Built-in Math Captcha

'; echo '
    '; echo '
  • Medium Security
  • '; echo '
  • No API keys
  • '; echo '
  • No 3rd party services
  • '; echo '
  • GDPR Compatible
  • '; echo '
'; echo '
'; echo '
'; echo '
'; echo 'PRO'; echo ''; echo '
'; echo '

Built-in Icon Captcha

'; echo '
    '; echo '
  • Medium Security
  • '; echo '
  • No API keys
  • '; echo '
  • No 3rd party services
  • '; echo '
  • GDPR Compatible
  • '; echo '
'; echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo '

Google reCaptcha v2

'; echo '
    '; echo '
  • High Security
  • '; echo '
  • Requires API Keys
  • '; echo '
  • Powered by Google
  • '; echo '
  • Not GDPR Compatible
  • '; echo '
'; echo '
'; echo '
'; echo '
'; echo ''; echo '
'; echo '

Google reCaptcha v3

'; echo '
    '; echo '
  • High Security
  • '; echo '
  • Requires API Keys
  • '; echo '
  • Powered by Google
  • '; echo '
  • Not GDPR Compatible
  • '; echo '
'; echo '
'; echo '
'; echo '
'; echo 'PRO'; echo ''; echo '
'; echo '

hCaptcha

'; echo '
    '; echo '
  • High Security
  • '; echo '
  • Requires API Keys
  • '; echo '
  • GDPR Compatible
  • '; echo '
  • Best Choice
  • '; echo '
'; echo '
'; echo '
'; echo '
'; echo 'PRO'; echo ''; echo '
'; echo '

Cloudflare Turnstile

'; echo '
    '; echo '
  • High Security
  • '; echo '
  • Requires API Keys
  • '; echo '
  • Not explicitly GDPR Compatible
  • '; echo '
  • Powered by Cloudflare
  • '; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; } // tab_captcha static function tab_captcha_location() { $options = WPCaptcha_Setup::get_options(); echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_login', array('saved_value' => $options['captcha_show_login'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_login]')); echo '
Applies to default login, WooCommerce, and Easy Digital Downloads login pages'; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_wp_registration', array('saved_value' => $options['captcha_show_wp_registration'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_wp_registration]')); echo '
Show captcha on WordPress user registration form'; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_wp_lost_password', array('saved_value' => $options['captcha_show_wp_lost_password'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_wp_lost_password]')); echo '
Show captcha on WordPress lost password form'; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_wp_comment', array('saved_value' => $options['captcha_show_wp_comment'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_wp_comment]')); echo '
Show captcha on WordPress comments form'; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_woo_registration', array('saved_value' => $options['captcha_show_woo_registration'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_woo_registration]')); echo '
Show captcha on WooCommerce registration form'; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_woo_checkout', array('saved_value' => $options['captcha_show_woo_checkout'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_woo_checkout]')); echo '
Show captcha on WooCommerce checkout form'; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_edd_registration', array('saved_value' => $options['captcha_show_edd_registration'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_edd_registration]')); echo '
Show captcha on Easy Digital Downloads registration form'; echo '
'; WPCaptcha_Utility::create_toggle_switch('captcha_show_bp_registration', array('saved_value' => $options['captcha_show_bp_registration'], 'option_key' => esc_attr(WPCAPTCHA_OPTIONS_KEY) . '[captcha_show_bp_registration]')); echo '
Show captcha on BuddyPress registration form'; echo '
'; WPCaptcha_admin::footer_save_button(); echo '
'; echo '
'; } // tab_captcha_location } // class WPCaptcha_Tab_Captcha