Repository navigation
mt_header_columns
github-actions[bot] edited this page Nov 27, 2026
·
6 revisions
Filter the column headers.
add_filter(
'mt_header_columns',
function(
array $headers,
string $context,
string $type
) {
// Your code here.
return $headers;
},
10,
3
);-
array$headersHeaders with labels and callbacks. -
string$contextPurchases or tickets. -
string$typeDisplay type table or csv.
array
apply_filters( 'mt_header_columns', $headers, $context, $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 )