apply_filters( 'mt_response_messages', $message, $response_code, $payment_id ) → {string}
Filter the message displayed to customers after handling a purchase. Output should be text only.
Parameters:
Name | Type | Description |
---|---|---|
$message |
string | Message from the payment gateway explaining the response. |
$response_code |
string | Reason provided by the payment gateway associated with the response. |
$payment_id |
int | false | Post ID for the handled payment. |
- Source:
Returns:
- Type
- string