get_param( 'status' ) ? 'skipped' : 'completed'; update_option( SetupScreen::STATUS_OPTION, $status, false ); delete_transient( SetupScreen::PENDING_TRANSIENT ); return rest_ensure_response( [ 'success' => true, 'status' => $status, ] ); } }