How and where does Membership 2 Pro store all its data?

Where exactly is all the data from Membership 2 Pro stored? The main concern is that the export function states that is not a full backup of the plugin settings. I'm getting ready to move a site from one multisite to another and I'm trying to determine what tables I need to be concerned about without doing a massive full migration.

  • Ash

    Hello SD2k

    Membership 2 uses custom post type, post meta and option table to store all the M2 related data. No custom table is used to store the data.

    So, all memberships, subscriptions, relationships, invoices etc are custom post and all related information are saved as post meta. The M2 settings are stored in option table.

    I think you may take a look at out export model class to get an idea how you can get the M2 related information if you want to do it manually.

    Also, I would suggest trying the built-in export/import feature if that helps. Of course, take a complete backup of your current site.

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.