# Change the "Order Received" Page Title

> Replaces the "Order received" heading on the thank-you page with your own text.

- Type: PHP
- Runs: Run everywhere
- Category: [WooCommerce](https://wpide.com/library/category/woocommerce/)
- Requires: WooCommerce
- Tags: woocommerce, thank-you, text
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/woo-order-received-title/

## Code

```php
add_filter( 'woocommerce_endpoint_order-received_title', function () {
    return 'Thank you for your order!';
} );
```

## Notes

""

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Change the "Order Received" Page Title" 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/
