daily pastebin goal
85%
SHARE
TWEET

EB widget form pos quick fix

BakerMan Jan 23rd, 2014 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'tribe_template_factory_debug', 'update_eventbrite_widget_code' );
  2.  
  3. function update_eventbrite_widget_code( $html ) {
  4.         if ( false === strpos( $html, 'eventbrite-ticket-embed' ) ) return $html;
  5.         return str_replace( 'ref=etckt', 'ref=etckt&v=2', $html );
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top