nt CAPTCHA configuration: '; $markup .= '
'; $markup .= '

' . esc_html__( 'CAPTCHA version:', 'advanced-nocaptcha-recaptcha' ) . '' . $captcha_version . '

'; $markup .= '

' . esc_html__( 'Site key:', 'advanced-nocaptcha-recaptcha' ) . '' . $site_key . '

'; $markup .= '

' . esc_html__( 'Secret key:', 'advanced-nocaptcha-recaptcha' ) . '' . $secret_key . '

'; if ( 'v3' === $captcha_version ) { if ( 'v2_checkbox' === $failure_action ) { $markup .= '

' . esc_html__( 'Failover action:', 'advanced-nocaptcha-recaptcha' ) . '' . esc_html__( 'v2 checkbox', 'advanced-nocaptcha-recaptcha' ) . '

'; $markup .= '

' . esc_html__( 'Site key:', 'advanced-nocaptcha-recaptcha' ) . '' . esc_html__( trim( C4WP_Functions::c4wp_get_option( 'failure_v2_site_key' ) ) ) . '

'; $markup .= '

' . esc_html__( 'Secret key:', 'advanced-nocaptcha-recaptcha' ) . '' . esc_html__( trim( C4WP_Functions::c4wp_get_option( 'failure_v2_secret_key' ) ) ) . '

'; } elseif ( 'redirect' === $failure_action ) { $markup .= '

' . esc_html__( 'Failover action:', 'advanced-nocaptcha-recaptcha' ) . '' . esc_html__( 'Redirect to a URL', 'advanced-nocaptcha-recaptcha' ) . '

'; $markup .= '

' . esc_html__( 'Failover redirect URL:', 'advanced-nocaptcha-recaptcha' ) . '' . esc_html__( trim( C4WP_Functions::c4wp_get_option( 'failure_redirect' ) ) ) . '

'; } } $markup .= '
'; $markup .= ' '; } else { if ( isset( C4WP_Method_Loader::$methods[ 'hcaptcha' ] ) ) { $markup = '
' . esc_html__( 'Configure CAPTCHA integration', 'advanced-nocaptcha-recaptcha' ) . ' '; } else { $markup = '
' . esc_html__( 'Configure Google reCAPTCHA integration', 'advanced-nocaptcha-recaptcha' ) . ' '; } } return $markup; } /** * Reset current version and keys. * * @return void */ public static function c4wp_reset_captcha_config() { $posted = filter_input_array( INPUT_POST ); // Grab POSTed data. $nonce = sanitize_text_field( $posted[ 'nonce' ] ); // Check nonce. if ( empty( $nonce ) || ! wp_verify_nonce( $nonce, 'reset_captcha_nonce' ) ) { wp_send_json_error( esc_html__( 'Nonce Verification Failed.', 'advanced-nocaptcha-recaptcha' ) ); } C4WP_Functions::c4wp_update_option( 'site_key' ); C4WP_Functions::c4wp_update_option( 'secret_key' ); C4WP_Functions::c4wp_update_option( 'captcha_version' ); wp_send_json_success(); } /** * Adds a setting to allow for testing different CAPTCHA results. * * @param array $fields - Current settings array. * @return array $fields - Modified array. */ public static function add_logging_and_testing_settings( $fields ) { $stored = C4WP_Functions::c4wp_get_option( 'c4wp_recent_results' ); $nice_display = ''; $additonal_options['override_result'] = array( 'label' => esc_html__( 'Override validation response.', 'advanced-nocaptcha-recaptcha' ), 'section_id' => 'google_keys', 'type' => 'select', 'class' => 'regular', 'std' => 'no_override', 'options' => array( 'no_override' => esc_html__( 'Do no override', 'advanced-nocaptcha-recaptcha' ), 'return_false' => esc_html__( 'Return false (failure)', 'advanced-nocaptcha-recaptcha' ), 'return_true' => esc_html__( 'Return true (pass)', 'advanced-nocaptcha-recaptcha' ), ), 'desc' => '', ); $additonal_options['recent_verification_results'] = array( 'section_id' => 'google_keys', 'type' => 'html', 'label' => sprintf( '

' ), 'class' => 'wrap-around-content c4wp-wizard-captcha-version', ); $fields = self::push_at_to_associative_array( $fields, array_key_last( $fields ), $additonal_options ); return $fields; } public static function add_delete_data_settings( $fields ) { $additonal_hide_fields = array( 'disable_submit_title' => array( 'section_id' => 'forms', 'type' => 'html', 'class' => 'wrap-around-content', 'label' => sprintf( '%1$s', esc_html__( 'Disable submit button untill CAPTCHA response is provided?', 'advanced-nocaptcha-recaptcha' ) ), ), 'disable_submit_subtitle' => array( 'section_id' => 'forms', 'type' => 'html', 'class' => 'wrap-around-content', 'label' => sprintf( '

%1$s

', esc_html__( 'When using a visible CAPTCHA method (V2 checkbox etc), should we disable the submit button untill the CAPTCHA challenge is completed?', 'advanced-nocaptcha-recaptcha' ) ), ), 'disable_submit' => array( 'label' => esc_html__( 'Disable submit button', 'advanced-nocaptcha-recaptcha' ), 'section_id' => 'forms', 'std' => 0, 'type' => 'checkbox', 'class' => 'checkbox', ), 'pass_on_no_captcha_found_title' => array( 'section_id' => 'forms', 'type' => 'html', 'class' => 'wrap-around-content', 'label' => sprintf( '%1$s', esc_html__( 'Should CAPTCHA 4WP pass or fail a submission if no CAPTCHA field is found?', 'advanced-nocaptcha-recaptcha' ) ), ), 'pass_on_no_captcha_found_subtitle' => array( 'section_id' => 'forms', 'type' => 'html', 'class' => 'wrap-around-content', 'label' => sprintf( '

%1$s

', esc_html__( 'If a form is passed through our plugin for verification and no CAPTCHA field is present, you can choose to either allow the submission or return a failure.', 'advanced-nocaptcha-recaptcha' ) ), ), 'pass_on_no_captcha_found' => array( 'label' => esc_html__( 'Disable CAPTCHA tests for logged in users', 'advanced-nocaptcha-recaptcha' ), 'section_id' => 'forms', 'type' => 'radio', 'class' => 'regular remove-space-below remove-radio-br', 'std' => 'proceed', 'options' => array( 'proceed' => esc_html__( 'Proceed with submission', 'advanced-nocaptcha-recaptcha' ), 'fail' => esc_html__( 'Fail submission', 'advanced-nocaptcha-recaptcha' ), ), ), 'delete_data_subtitle' => array( 'section_id' => 'forms', 'type' => 'html', 'class' => 'wrap-around-content', 'label' => sprintf( '%1$s', esc_html__( 'Do you want delete all plugin data when uninstalling the plugin?', 'advanced-nocaptcha-recaptcha' ) ), ), 'delete_data_enable' => array( 'label' => esc_html__( 'Delete data', 'advanced-nocaptcha-recaptcha' ), 'section_id' => 'forms', 'std' => 0, 'type' => 'checkbox', 'class' => 'checkbox', ), ); $fields = \C4WP_Settings::push_at_to_associative_array( $fields, array_key_last( $fields ), $additonal_hide_fields ); return $fields; } } //END CLASS
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'C4WP_Settings' not found in /var/www/html/planilhando.com.br/web/forum/wp-includes/class-wp-hook.php on line 307
Página não encontrada – Planilhando

4cup-tea4

Opa! Página não encontrada..!

A página que você está procurando não existe.