Tribe Events Single Event After Meta
-
I updated to 4.9.1 and it crashed my site. I had to delete the folder on the server for my site to work again.
I ran debug and I found in my functions file that code I was using which worked previously is now causing a problem.
Here is what I was using:
if (class_exists('Tribe__Tickets__RSVP')) { remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form'), 5 ); add_action( 'tribe_events_single_event_before_the_content', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form'), 5 ); }
Is there a replacement for this that works?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Tribe Events Single Event After Meta’ is closed to new replies.