Skip to content

mt_header_columns

github-actions[bot] edited this page Nov 27, 2026 · 6 revisions

Filter the column headers.

Auto-generated Example

add_filter(
   'mt_header_columns',
    function(
        array $headers,
        string $context,
        string $type
    ) {
        // Your code here.
        return $headers;
    },
    10,
    3
);

Parameters

  • array $headers Headers with labels and callbacks.
  • string $context Purchases or tickets.
  • string $type Display type table or csv.

Returns

array

Files

apply_filters( 'mt_header_columns', $headers, $context, $type )

← All Hooks

Clone this wiki locally