Skip to content

Instantly share code, notes, and snippets.

@eighty20results
Created September 17, 2018 18:41
Show Gist options
  • Save eighty20results/b1c567bfaec33329d3bfa02c23a3916f to your computer and use it in GitHub Desktop.
Save eighty20results/b1c567bfaec33329d3bfa02c23a3916f 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