| @@ -20,9 +20,8 @@ | ||
| 20 | 20 | add_filter( 'weforms_settings_tabs', [ $this, 'set_default_settings' ], 5 ); |
| 21 | 21 | add_action( 'weforms_settings_tab_content_general', [ $this, 'settings_tab_general' ] ); |
| 22 | 22 | add_action( 'weforms_settings_tab_content_recaptcha', [ $this, 'settings_tab_recaptcha' ] ); |
| 23 | 23 | add_action( 'weforms_settings_tab_content_secure-database', [ $this, 'settings_tab_secure_database' ] ); |
| 24 | - add_action( 'weforms_settings_tab_content_humanpresence', [ $this, 'settings_tab_humanpresence' ] ); | |
| 25 | 24 | add_action( 'weforms_settings_tab_content_privacy', [ $this, 'settings_tab_privacy' ] ); |
| 26 | 25 | } |
| 27 | 26 | |
| 28 | 27 | /** |
| @@ -337,13 +336,8 @@ | ||
| 337 | 336 | 'label' => __( 'Secure Database', 'weforms' ), |
| 338 | 337 | 'icon' => WEFORMS_ASSET_URI . '/images/integrations/secure-database.png', |
| 339 | 338 | ]; |
| 340 | 339 | |
| 341 | - $tabs['humanpresence'] = [ | |
| 342 | - 'label' => __( 'Human Presence', 'weforms' ), | |
| 343 | - 'icon' => WEFORMS_ASSET_URI . '/images/integrations/hp-shield.svg', | |
| 344 | - ]; | |
| 345 | - | |
| 346 | 340 | /* TODO: Refactor this block when more options are added in privacy settings*/ |
| 347 | 341 | if ( class_exists( 'WeForms_Pro' ) ) { |
| 348 | 342 | $tabs['privacy'] = [ |
| 349 | 343 | 'label' => __( 'Privacy', 'weforms' ), |
| @@ -383,18 +377,8 @@ | ||
| 383 | 377 | * @return void |
| 384 | 378 | */ |
| 385 | 379 | public function settings_tab_secure_database( $tab ) { |
| 386 | 380 | include __DIR__ . '/views/weforms-settings-secure-database.php'; |
| 387 | - } | |
| 388 | - /** | |
| 389 | - * Human Presence tab content | |
| 390 | - * | |
| 391 | - * @param array $tab | |
| 392 | - * | |
| 393 | - * @return void | |
| 394 | - */ | |
| 395 | - public function settings_tab_humanpresence( $tab ) { | |
| 396 | - include __DIR__ . '/views/weforms-settings-humanpresence.php'; | |
| 397 | 381 | } |
| 398 | 382 | /** |
| 399 | 383 | * Privacy tab content |
| 400 | 384 | * |