Customize Template
1: General
a) Buy Ticket at

Hide "Internal link" option: Add the code below to the
functions.php
file in your child theme.
add_filter( 'el_show_ticket_internal_link_field', '__return_false' );
Hide "External Link" options: Add the code below to the
functions.php
file in your child theme.
add_filter( 'el_show_ticket_external_link_field', '__return_false' );
Setup "External link" option is Default Add the code below to the
functions.php
file in your child theme.
add_filter( 'el_ticket_link_default', function(){ return 'ticket_external_link'; } );
Hide Internal link and External link option
Add the code below to the functions.php
file in your child theme.
add_filter( 'el_show_ticket_link_opt', '__return_false' );
b) Type

Hide "No Seat" option Add the code below to the
functions.php
file in your child theme.
add_filter( 'el_show_ticket_type_no_seat', '__return_false' );
Hide "Simple Seat" option Add the code below to the
functions.php
file in your child theme.
add_filter( 'el_show_ticket_type_simple', '__return_false' );
Hide "Map" option Add the code below to the
functions.php
file in your child theme.
add_filter( 'el_show_ticket_type_map', '__return_false' );
Setup "Simple Seat" option is Default Add the code below to the
functions.php
file in your child theme.
add_filter( 'el_ticket_type_default', function(){ return 'simple'; } );
Setup "Map" option is Default
Add the code below to the functions.php
file in your child theme.
add_filter( 'el_ticket_type_default', function(){ return 'map'; } );
2: Customize Template in child theme
Without using some above filter hook, you can customize template in child theme:
Copy file
wp-content/plugins/eventlist/templates/vendor/__edit-event-ticket.php
to
wp-content/themes/meup-child/eventlist/vendor/__edit-event-ticket.php
and edit code in that file
Last updated
Was this helpful?