title: Change "Billing Details" text to "Shipping Details" on WooCommerce checkout page
body: <p>I currently have a bit of code in my child theme's functions.php file which is supposed to change &quot;Billing Details&quot; to say &quot;Shipping Details&quot; on my WooCommerce checkout page.</p>
  <p>However, when I updated to WooCommerce 3.0, the code snippet stopped working. Below is the code I was using.</p>
  <pre><code>function wc_billing_field_strings( $translated_text, $text, $domain ) {
      switch ( $translated_text ) {
          case 'Billing Details' :
              $translated_text = __( 'Shipping Details', 'woocommerce' );
              break;
      }
      return $translated_text;
  }
  
  add_filter( 'gettext', 'wc_billing_field_strings', 20, 3 );
  </code></pre>
  <p>I would really like a code snippet that works with WooCommerce 3.0+.</p>