Support

Home Forums Community Forum How to remove a ticket from the ticket selector after user bought the ticket.

How to remove a ticket from the ticket selector after user bought the ticket.

Posted: February 7, 2019 at 8:42 pm


tooedge1

February 7, 2019 at 8:42 pm

Hi There,

Based on this reference:

https://gist.github.com/Pebblo/eabb317ca126f5b298eca78755f2cbd1

May i know, which line should i put this code (code below) to make sure this function only work for subscriber role?

if ( ! user_can( $current_user, ‘subscriber’) ){
return $ticket_row_html;
}

You must be logged in to reply to this support post. Sign In or Register for an Account

Community-based support forum for Event Espresso.
If you would like official support from the Event Espresso staff, then please purchase a support license today to post in our premium support forums.

Status: publish

Updated by  tooedge1 1 week, 6 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!