Home Forums Event Espresso Premium Ticket Capability Requirement not working

Ticket Capability Requirement not working

Posted: August 4, 2017 at 10:00 pm


August 4, 2017 at 10:00 pm

Hello. I have the WP user add-on activated and have inserted a specific capability in the Ticket Capability Requirement field where it says that this is the “WP User Capability required for purchasing this ticket”. It works for my free events with multiple tickets and for my paid events. However, for my free events with 1 type of ticket and a max 1 ticket per order, the ticket selector is showing the “add to event cart” button and is not saying that it’s for members only. Is this a bug that the WP user capability is not activated when the event is free, with 1 ticket, and 1 ticket max per order?


  • Support Staff

August 7, 2017 at 4:38 am

Hi there,

I can reproduce this and it does look like a bug so I have created a ticket for our developers to investigate.

I checked the code for the version of the ticket selector in use with that setup and can not see a workaround you can use.


  • Support Staff

August 8, 2017 at 10:19 am

It’s a core Event Espresso bug but there is actually a workaround:

You can add the following code to your website’s functions file:

add_filter( 'FHEE__ticket_selector_chart_template__hide_ticket_selector', '__return_false' );

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


August 8, 2017 at 1:54 pm

Thank you!


  • Support Staff

September 11, 2017 at 7:14 pm

This issue was fixed in Event Espresso 4.9.46.p.

The support post ‘Ticket Capability Requirement not working’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years, 8 months ago ago

Topic Tags

Tagged: ,


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