Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Where can I find user's subscription expiration date in database?
- This topic has 3 replies, 2 voices, and was last updated 4 years, 8 months ago by
Sarmistha Chakraborty.
- AuthorPosts
- June 3, 2020 at 8:15 pm #138099
tuomas.viikeri-9133
ParticipantLike the title says, in what table can I find the user’s subscription expiration date data in the database?
- June 4, 2020 at 1:15 pm #138268
Sarmistha Chakraborty
MemberHello,
You will find the expiry date in “wp_usermeta” table.
get_user_meta( $user_id, 'wcfm_membership_next_schedule', true );
Thanks.
- June 4, 2020 at 9:29 pm #138448
tuomas.viikeri-9133
ParticipantI found the “key” columns which are named “wcfm_membership_next_schedule” in the usermeta table. If the “value” next to this column is supposed tell the expiration date it is then somehow crypted. For example a single value of it was 1593475200. This doesn’t look like a expiration date. How can I find the expiration dates in a readable form?
- June 5, 2020 at 10:25 pm #138889
Sarmistha Chakraborty
MemberHello,
This is Timestamp.
printecho date("Y-m-d",1593475200);
Thanks.
- AuthorPosts
- You must be logged in to reply to this topic.