Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Add content to the checkout receipt.
Usage
add_action( 'wpbdp_after_render_receipt', 'my_thankyou_function' );
Parameters
- $payment (object)
Examples
Add message on receipt page
function my_thankyou_function() { echo '<h4>Thank you for your purchase!</h4>'; } add_action( 'wpbdp_after_render_receipt', 'my_thankyou_function' );