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

Viewing 0 reply threads


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

Viewing 0 reply threads

The support post ‘How to remove a ticket from the ticket selector after user bought the ticket.’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso