Advertisement
BakerMan

EB 1.0.5 change hardcoded iframe height

Mar 17th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. <?php
  2. /**
  3.  * This code changes the height of the Eventbrite ticket form (which is harcoded) ...
  4.  * it is unlikely to work if you are using multiple ticketing plugins simultaneously
  5.  * and may not work on future versions of Eventbrite tickets.
  6.  *
  7.  * @param $forms
  8.  * @return mixed
  9.  */
  10. function alter_eventbrite_ticket_form($forms) {
  11.     return str_replace('350px', '125px', $forms);
  12. }
  13.  
  14. add_filter('tribe_get_ticket_form', 'alter_eventbrite_ticket_form');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement