WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Change ticket table column headings (5 posts)

  1. Tech4Eleven
    Member
    Posted 2 years ago #

    Is there a way to change the words "ticket type" "price" and "spaces"? I've searched so many of the files but I cant find it. The words don't make sense for what I'm using it. Please help.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    try this snippet (paste in your theme functions.php)

    function my_custom_ticket_header($collumns){
    	$collumns = array( 'type' => __('R Ticket Type','dbem'), 'price' => __('R Price','dbem'), 'spaces' => __('R Spaces','dbem'));
    	return $collumns;
    }
    add_filter('em_booking_form_tickets_cols','my_custom_ticket_header',1,1);
  3. Tech4Eleven
    Member
    Posted 2 years ago #

    perfect. thanks. also, is there anyway to get rid of the dropdown on a ticket that only has one space?

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    You'd have to hook into the em_ticket_get_spaces_options filter and modify the output depending on what tickets are supplied.

  5. Tech4Eleven
    Member
    Posted 2 years ago #

    ya. thats beyond me

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic