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. Action hooks that trigger on, before or after add, update or delete actions of option - WordPress
  2. Get all variations of a variable product - WooCommerce
  3. Generate random string - Python
  4. Split domain from an email address - Python
  5. Get upcoming N days - PHP

Your Questions / Comments

If you found this article interesting, found errors, or just want to discuss about it, please get in touch.