Conditional tags for order thank you page - WooCommerce
In WooCommerce, if you need to check that current page is an order thank you page, you can use below conditional tags in your code.
is_wc_endpoint_url( 'order-received' )
- Redirect single pages of post type in to post type archive page - WordPress
- Get details about available image sizes - WordPress
- Change shipping and billing address title - WooCommerce
- Add phone number to the output of the addresses on the "My Account" page - WooCommerce
- Get WordPress image element from attachment URL - WordPress
Your Questions / Comments
If you found this article interesting, found errors, or just want to discuss about them, please get in touch.