- May 9, 18 at 6:48 am #23046
HI, I have bought WCFM – Ultimate and Group & Staff plugins and wanted to know if there is any function/code to know the membership type of the vendor? I want to add a custom condition based on the vendor type for example: If User’s Membership if Silver, Do that.
Please let me know how can I achieve this.
- May 9, 18 at 7:05 am #23048
Thanks for get in touch with us.
You may use this code to membership plan ID for a vendor –
$wcfm_membership_id = get_user_meta( $vendor_id, 'wcfm_membership', true );