Hi, Dat,
We added the functions but weren’t going to create the tables until a later update. However, if you add a couple tables to your DB, you can start using the functions here to manipulate level meta:
https://github.com/strangerstudios/paid-memberships-pro/blob/29fd619c53090a1ba44032f2b7a0f377db54a712/includes/functions.php#L369
Here is the SQL query to run (be sure to fix the prefix to match your DB table prefix):
CREATE TABLE <code>wp_pmpro_membership_levelmeta</code> (
<code>meta_id</code> int(10) unsigned NOT NULL AUTO_INCREMENT,
<code>pmpro_membership_level_id</code> int(10) unsigned NOT NULL,
<code>meta_key</code> varchar(255) NOT NULL,
<code>meta_value</code> longtext,
PRIMARY KEY (<code>meta_id</code>),
KEY (<code>pmpro_membership_level_id</code>),
KEY (<code>meta_key</code>)
);
Yeah, Thank you. i found out table in database 🙂
So, i just add your functions into my source right?
Sorry, that functions already exist. Thank for your support.