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

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.

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: closed

Updated by  tooedge1 2 months, 2 weeks ago ago

Topic Tags

Notifications

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