Skip to content

Instantly share code, notes, and snippets.

@koleror
Created April 17, 2020 15:55
Show Gist options
  • Save koleror/dfd3a148fac8d9605855967fb30dfbdf to your computer and use it in GitHub Desktop.
Save koleror/dfd3a148fac8d9605855967fb30dfbdf to your computer and use it in GitHub Desktop.
Export users from Simple WP Membership
SELECT member_id, first_name, last_name, member_since, last_accessed, email FROM dbqsv_swpm_members_tbl
LEFT JOIN dbqsv_swpm_membership_tbl
ON ( membership_level = id )
WHERE membership_level=3;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment