Advertisement
BakerMan

Old style debug example

May 8th, 2013
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. // Find these lines
  2. tribe_get_ticket_form();
  3. $price_differential = max($wootickets_pricing) > min($wootickets_pricing);
  4.  
  5. // For troubleshooting purposes, "wrap" them up with a couple of extra lines before
  6. // and after(of course, do this on your test site not your live site!)
  7. echo 'Pricing data: ';
  8. var_dump($wootickets_pricing);
  9. tribe_get_ticket_form();
  10. $price_differential = max($wootickets_pricing) > min($wootickets_pricing);
  11. echo 'Pricing data: ';
  12. var_dump($wootickets_pricing);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement