Skip to content

Instantly share code, notes, and snippets.

@ideadude
Created December 26, 2017 17:44
Show Gist options
  • Save ideadude/ffb7ae2ec9086fe6178e454346d06dd9 to your computer and use it in GitHub Desktop.
Save ideadude/ffb7ae2ec9086fe6178e454346d06dd9 to your computer and use it in GitHub Desktop.
Example of using SQL to edit a PMPro Order
#set order 1 to have user_id 1. change the order and user ids.
UPDATE wp_pmpro_membership_orders SET user_id = '1', status = 'success' WHERE id = 1 LIMIT 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment