Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change Title of WooCommerce Thank You page
add_filter( 'the_title', 'woo_title_order_received', 10, 2 );
function woo_title_order_received( $title, $id ) {
if ( function_exists( 'is_order_received_page' ) &&
is_order_received_page() && get_the_ID() === $id ) {
$title = "Thank you for your order! :)";
return $title;

This comment has been minimized.

Copy link

@Atif0007 Atif0007 commented Oct 25, 2017

Checkout Page keep loading after adding above script to function.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.