Skip to content

mt_ticket_settings

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

Filter value data about a specific type of ticket.

Auto-generated Example

add_filter(
   'mt_ticket_settings',
    function(
        array $ticket_type,
        array $pricing,
        int $event_id,
        string $type
    ) {
        // Your code here.
        return $ticket_type;
    },
    10,
    4
);

Parameters

  • array $ticket_type Price and availability for a ticket type.
  • array $pricing Full pricing array being iterated.
  • int $event_id Event ID.
  • string $type Current ticket type.

Files

apply_filters( 'mt_ticket_settings', $ticket_type, $pricing, $event_id, $type )

← All Hooks

Clone this wiki locally