Support » Plugin: Content Visibility for Divi Builder » Work with Memberium?

  • Resolved johnrhopkins

    (@johnrhopkins)


    I’ve also asked the support team at Memberium, but thought I’d ask here in case you have any experience with using this with Memberium. Is there a way to use this plugin to show/hideDivi elements based on a Memberium membership?

Viewing 1 replies (of 1 total)
  • Plugin Author AoD Technologies LLC

    (@jhorowitz)

    Hi @johnrhopkins,

    You may use either of these memberium api calls:

    memb_hasMembership( $level )
    Returns true if the current visitor is logged in, and has the specified membership. Returns false if the user is not logged in, or is logged in and does not have the membership specified. The function takes the name of the membership as the parameter, and is not case-sensitive.

    memb_hasMembershipLevel( $level )
    Returns true if the current visitor is logged in, and has a membership with the specified membership level number or higher. Returns false if the user is not logged in, or is logged in with a membership level lower than the number level specified. This function takes a number parameter.

    Please look here for additional memberium functions you may wish to use!

Viewing 1 replies (of 1 total)
  • The topic ‘Work with Memberium?’ is closed to new replies.