Forked from strangerstudios/set_enddate_null.sql
Last active
November 30, 2018 18:46
-
-
Save kimcoleman/9c3d93157cd32a96e41871fe1106954c to your computer and use it in GitHub Desktop.
This SQL query will clear the expiration date for active recurring memberships in Paid Memberships Pro.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BACKUP FIRST | |
# This will remove any expiration date on | |
# every member in your database. | |
# BACKUP FIRST | |
UPDATE wp_pmpro_memberships_users | |
SET enddate = '0000-00-00 00:00:00' | |
WHERE status = 'active' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment