title: Woocommerce (Checkout-Page) - Replace content after placing order
body: <p>This question is related to the <code>thankyou page</code>.</p>
  
  <blockquote>
    <p><strong>I created my own custom thank you layout, and it has a shortcode which is <code>[custom-thankyou-054]</code>.</strong></p>
  </blockquote>
  
  <p>-<br/>
  Normally, when you done placing your order the checkout page will tell you a <code>Thank you. Your order has been received.</code> and some of the details about your order.</p>
  
  <p>I don't want to show all of those details. I designed a simple yet more interactive layout and I want to use it instead.</p>
  
  <p>I wonder if there is a hook to do that?</p>
  
  <p>I know a hook to redirect to another page after placing the order.</p>
  
  <pre><code>add_action( 'woocommerce_thankyou', 'bbloomer_redirectcustom');
  
  function bbloomer_redirectcustom( $order_id ){
      $order = wc_get_order( $order_id );
      $url = 'https://yoursite.com/custom-url';
      if ( ! $order-&gt;has_status( 'failed' ) ) {
          wp_safe_redirect( $url );
          exit;
      }
  }
  </code></pre>
  
  <p>Unfortunately, that is not my case. I wanted the user to stay on that <code>checkout page</code> but only change its content with my custom layout after placing the order, something like:</p>
  
  <pre><code>add_action( '??????????', 'change_checkout_page_content_after_placing_order'); 
  function change_checkout_page_content_after_placing_order( $order_id ){
   return do_shortcode('[custom-thankyou-054]');
  }
  </code></pre>
  
  <p>is that possible?</p>