Skip to content

mt_filter_payment_data

github-actions[bot] edited this page May 15, 2026 · 2 revisions

Filter payment data before saving results into database and sending notifications.

Auto-generated Example

add_filter(
   'mt_filter_payment_data',
    function(
        array $data,
        array $post
    ) {
        // Your code here.
        return $data;
    },
    10,
    2
);

Parameters

  • array $data Payment Details.
  • array $post Data sent to My Tickets from payment gateway.

Returns

array

Files

apply_filters( 'mt_filter_payment_data', $data, $post )

← All Hooks

Clone this wiki locally