Advertisement
BakerMan

tribe_get_ticket_form

Oct 2nd, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1.     /**
  2.      * Placeholder function that is used for ticketing plugins
  3.      * meant to be filtered by such plugins
  4.      *
  5.      * @author jkudish
  6.      * @since 2.1
  7.      * @return void
  8.      */
  9.     function tribe_get_ticket_form() {
  10.         $ticket_form = apply_filters('tribe_get_ticket_form', false);
  11.         if ($ticket_form && is_string($ticket_form)) {
  12.             echo $ticket_form;
  13.         } else {
  14.             return $ticket_form;
  15.         }
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement