Skip to content

mt_shipping_note

github-actions[bot] edited this page Nov 29, 2026 · 2 revisions

Filter the shipping note text.

Auto-generated Example

add_filter(
   'mt_shipping_note',
    function(
        string $shipping_note,
        bool $show_shipping,
        string string
    ) {
        // Your code here.
        return $shipping_note;
    },
    10,
    3
);

Parameters

  • string $shipping_note The shipping note text.
  • bool $show_shipping Whether shipping is being shown already.
  • string string $context Display context. Default 'input'. Other variable names: $input

Files

apply_filters( 'mt_shipping_note', $shipping_note, $show_shipping, 'input' )

← All Hooks

Clone this wiki locally