title: How to check WooCommerce thank you page
body: <p>In Wordpress<code>is_page()</code> can check page by ID,name or by slug but how can we check WooCommerce thank you page whether its a part of checkout page.</p>
  
  <p>Also We have a lot of WooCommerce <a href="https://docs.woocommerce.com/document/conditional-tags/" rel="noreferrer">conditional tags</a> but cant find something solve my issue</p>
  
  <p>for example I try </p>
  
  <pre><code>if(is_page('checkout')) {
     //some thing for only checkout page
  }else if(is_page('thankyou') &amp;&amp; !is_page('checkout')){
    //some thing for only thank you page but not on checkout page
  }else{
    //some thing for all other page
  }
  </code></pre>