Support

Home Forums Event Espresso Premium Member only ticket invisible when not logged in

Member only ticket invisible when not logged in

Posted: April 27, 2016 at 7:24 am

Viewing 3 reply threads


mark tollenaere

April 27, 2016 at 7:24 am

Is it possible to show ‘member only’ tickets only to users who are logged in?


Tony

  • Support Staff

April 27, 2016 at 7:43 am

Hi Mark,

Yes it is, you can use the EE4 User Integration to set a minimum require capability on the ticket (logged out users do no have any capabilities)

You can find an example of this here:

https://eventespresso.com/wiki/wp-user-integration/#ee4installation

Do you also want to completely hide them from view of non logged in users?


mark tollenaere

April 28, 2016 at 2:29 am

Yes, we want to completely hide them. Not just mentioning ‘only for members’ 🙂


Tony

  • Support Staff

April 28, 2016 at 6:31 am

For that you will need to use a function like this:

https://gist.github.com/Pebblo/106393acd850cb83c3798c66a9c5a19a

You can add that to your themes functions.php file or a Site Specific Plugin.

Viewing 3 reply threads

The support post ‘Member only ticket invisible when not logged in’ 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