Repository navigation
mt_ticket_settings
github-actions[bot] edited this page Nov 30, 2026
·
6 revisions
Filter value data about a specific type of ticket.
add_filter(
'mt_ticket_settings',
function(
array $ticket_type,
array $pricing,
int $event_id,
string $type
) {
// Your code here.
return $ticket_type;
},
10,
4
);-
array$ticket_typePrice and availability for a ticket type. -
array$pricingFull pricing array being iterated. -
int$event_idEvent ID. -
string$typeCurrent ticket type.
apply_filters( 'mt_ticket_settings', $ticket_type, $pricing, $event_id, $type )Filter the footer used for HTML email messages.
add_filter(
'mt_html_email_footer',
function(
string $footer,
array $data
) {
// Your code here.
return $footer;
},
10,
2
);-
string$footerHTML footer content. -
array$dataEmail data array.
string
apply_filters( 'mt_html_email_footer', $footer, $data )