window.location.replace("'.$current_url[0].'");'; } else { if (isset($_POST["readygraph_access_token"])) update_option('readygraph_access_token', sanitize_key($_POST["readygraph_access_token"])); if (isset($_POST["readygraph_refresh_token"])) update_option('readygraph_refresh_token', sanitize_key($_POST["readygraph_refresh_token"])); if (isset($_POST["readygraph_email"])) update_option('readygraph_email', sanitize_email($_POST["readygraph_email"])); if (isset($_POST["readygraph_application_id"])) update_option('readygraph_application_id', sanitize_key($_POST["readygraph_application_id"])); if (isset($_POST["readygraph_settings"])) update_option('readygraph_settings', sanitize_text_field($_POST["readygraph_settings"])); if (isset($_POST["retentionemaileditor"])) update_option('readygraph_invite_email', sanitize_text_field($_POST["retentionemaileditor"])); } ?>