# Custom Message on the EDD Purchase Receipt Page

> Adds your own thank-you text, next steps or support details below the receipt that buyers see after an Easy Digital Downloads purchase.

- Type: PHP
- Runs: Run everywhere
- Category: [Easy Digital Downloads](https://wpide.com/library/category/edd/)
- Requires: Easy Digital Downloads
- Tags: edd, receipt, thank-you, support
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/edd-receipt-thank-you-message/

## Code

```php
$wpide_edd_receipt_message = '<h3>What happens next?</h3><p>Your files are ready to download above and we have emailed you a copy of this receipt. Need help? Visit our <a href="/support/">support page</a>.</p>';

add_action( 'edd_order_receipt_after_table', function () use ( $wpide_edd_receipt_message ) {
    echo '<div class="wpide-edd-receipt-message">' . wp_kses_post( do_shortcode( $wpide_edd_receipt_message ) ) . '</div>';
} );
```

## Notes

Shortcodes and basic HTML are allowed in the message.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Custom Message on the EDD Purchase Receipt Page" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
