Sarathlal N

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.

  1. is_order_received_page()
  2. is_wc_endpoint_url( 'order-received' )

Recent Posts

  1. Redirect single pages of post type in to post type archive page - WordPress
  2. Get details about available image sizes - WordPress
  3. Change shipping and billing address title - WooCommerce
  4. Add phone number to the output of the addresses on the "My Account" page - WooCommerce
  5. 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.