Code to Know Membership Types

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 1 reply thread
  • Author
    Posts
    • #23046
      Kanika G
      Guest

      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.

      Thanks

    • #23048
      WCFM Forum
      Member

      Hi,

      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 );

      Thank You

Viewing 1 reply thread
  • The topic ‘Code to Know Membership Types’ is closed to new replies.