Customize Template
1: General
a) But Ticket at

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

Hide "No Seat" option Add bellow code to functions.php file in child theme
add_filter( 'el_show_ticket_type_no_seat', '__return_false' );
Hide "Simple Seat" option Add bellow code to functions.php file in child theme
add_filter( 'el_show_ticket_type_simple', '__return_false' );
Hide "Map" option Add bellow code to functions.php file in child theme
add_filter( 'el_show_ticket_type_map', '__return_false' );
Setup "Simple Seat" option is Default Add bellow code to functions.php file in child theme
add_filter( 'el_ticket_type_default', function(){ return 'simple'; } );
Setup "Map" option is Default
add_filter( 'el_ticket_type_default', function(){ return 'map'; } );
2: Customzie Template in child theme
Without use 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?