window.location.href = "' . esc_html( $fqp_settings_url ) . '";'); } else { $message = ''; add_settings_error( 'fqp_zoho_authorized', '123456', $message, 'error' ); } } } else { if ( array_key_exists( 'revoke_token', $_REQUEST) && $_REQUEST['revoke_token'] ) { if ( ! FQP\ZOHO::revoke_token() ) { $message = ''; add_settings_error( 'fqp_zoho_authorized', '123456', $message, 'error' ); } else { foreach ( FQP\Settings::get_zoho_fileds() as $filed ) { update_option( $filed['name'], '' ); } update_option( 'fqp_zoho_authorized', false ); die(''); } } } ?>