eventsmanager

add column to tickets-list.php

Sep 20th, 2013
297
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. Add new column in the ticket list table under Booking Form at Single Events Page
  3.  
  4. Part 2 -> http://pastebin.com/LdjxXzCW
  5.  
  6. */
  7. function my_em_mod_add_ticket_column( $collumns, $EM_Event ){
  8. $collumns['available_spaces'] = __('Available Spaces','dbem');
  9. return $collumns;
  10. }
  11. add_filter('em_booking_form_tickets_cols', 'my_em_mod_add_ticket_column',10,2);
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×