Home › Forums › Support › Hook on order-received thank you page This topic has 4 replies, 1 voice, and was last updated 2 years, 9 months ago by Dwayne. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts March 26, 2020 at 2:01 pm #1211219 johnaps Hello! I am trying to add a back to shop button on thank you page… I found this solution that works add_action( 'woocommerce_thankyou', 'bbloomer_add_content_thankyou' ); function bbloomer_add_content_thankyou() { echo '<a class="rbs button" href="https://sofianos-orthopedika.gr/">Πίσω στο κατάστημα</a>'; } but i am wondering if there is a hook on gp that would do the job so i wont overload my functions.php file March 26, 2020 at 2:05 pm #1211223 LeoStaff Customer Support Hi there, That’s looks like the best solution 🙂 March 26, 2020 at 6:38 pm #1211370 johnaps Thank you!! March 26, 2020 at 8:00 pm #1211400 LeoStaff Customer Support No problem 🙂 July 16, 2021 at 9:40 am #1858262 Dwayne For anyone looking, you can add a custom hook and use the woocommerce hook: woocommerce_thankyou then add your link/whatever. It will be appended to the bottom of the ‘thank you’ page (‘order received’ page) Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In