Repository navigation
mt_shipping_note
github-actions[bot] edited this page Nov 29, 2026
·
2 revisions
Filter the shipping note text.
add_filter(
'mt_shipping_note',
function(
string $shipping_note,
bool $show_shipping,
string string
) {
// Your code here.
return $shipping_note;
},
10,
3
);-
string$shipping_noteThe shipping note text. -
bool$show_shippingWhether shipping is being shown already. -
stringstring$context Display context. Default 'input'. Other variable names:$input
apply_filters( 'mt_shipping_note', $shipping_note, $show_shipping, 'input' )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 )