Skip to content

Instantly share code, notes, and snippets.

@andrewlimaza
Forked from eighty20results/bulk-update.sql
Created September 18, 2018 07:48
Show Gist options
  • Save andrewlimaza/c23a4587134eb983a9dccddfcb9005d8 to your computer and use it in GitHub Desktop.
Save andrewlimaza/c23a4587134eb983a9dccddfcb9005d8 to your computer and use it in GitHub Desktop.
Bulk update membership levels in Paid Memberships Pro
UPDATE wp_pmpro_memberships_users SET 'membership_id' = 2 WHERE status = 'active' AND 'membership_id' = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment