Action
rpress_purchase_receipt_after_table
On this page
Fires after the closing tag of the order items table in the order list email tag.
Runs once the order items table has been rendered, whether or not taxes are enabled. Output echoed by the callback is appended directly after the table inside the generated order list markup used in emails and receipts.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$payment_id | int | ID of the order (payment) being rendered. |
Example#
function my_receipt_after_table( $payment_id ) {
echo '<p>' . esc_html__( 'Thank you for ordering with us.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_purchase_receipt_after_table', 'my_receipt_after_table', 10, 1 );
Source#
Fired from:
includes/emails/email-tags.php(line 388), inrpress_email_tag_fooditem_list()
See also#
Was this page helpful?
