Skip to content

mt_ticket_type

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

Filter the ticket type label shown on tickets.

Auto-generated Example

add_filter(
   'mt_ticket_type',
    function(
        string $label,
        string $type
    ) {
        // Your code here.
        return $label;
    },
    10,
    2
);

Parameters

  • string $label Label defined from settings.
  • string $type Ticket type key.

Returns

string

Files

apply_filters( 'mt_ticket_type', $label, $type )

← All Hooks

Clone this wiki locally