public static function processClearDatabase() { if (isset($_GET['flush_cma_db']) && $_GET['flush_cma_db'] == 1 and !empty($_GET['nonce']) and wp_verify_nonce($_GET['nonce'], self::ADMIN_SETTINGS)) { CMA::flushDatabase(); wp_redirect(admin_url('plugins.php')); exit; } }