Support

Home Forums Event Espresso Premium Members only tickets Reply To: Members only tickets

Reply To: Members only tickets

Author Replies
Tony # Posted on May 15, 2018 at 1:44 am

In that case, try this function:

https://gist.github.com/Pebblo/16a7dabb6a6d8f0f3d4370ccda06098b#file-functions3-php

Change line 12 to:

if( ! current_user_can( 'um-member' ) ){

Meaning if the ticket capability is empty, the user is logged, not an administrator and that do NOT have um-member set on their account, they can view the non discount ticket.

If that doesn’t work for you’ll need a developer to create a function that works for your specific needs.

Do NOT follow this link or you will be banned from the site!