wpbdp_after_render_receipt

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.

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' );

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support