Skip to content

Instantly share code, notes, and snippets.

@joshfeck
Created March 21, 2017 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshfeck/41bba9b21e481024e1523b29d529e973 to your computer and use it in GitHub Desktop.
Save joshfeck/41bba9b21e481024e1523b29d529e973 to your computer and use it in GitHub Desktop.
Don't show the "{ticket} is available to members only" message in the ticket selector. Add this to a functions plugin.
add_filter(
'FHEE__EED_WP_Users_Ticket_Selector__maybe_restrict_ticket_option_by_cap__no_access_msg',
function() { return; }
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment