JSFiddle - React, Tailwind, and code Playground

JavaScript

<?php
/**
 * Main functions file
 *
 * @package WordPress
 * @subpackage Shop Isle
 */
/**
 * Initialize all the things.
 */
require get_template_directory() . '/inc/init.php';

add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
  
function custom_override_checkout_fields( $fields ) {
  unset($fields['billing']['billing_company']);
    return $fields; 
}
add_filter( 'woocommerce_email_attachments', 'attach_terms_conditions_pdf_to_email', 10, 3);
function attach_terms_conditions_pdf_to_email ( $attachments , $id, $object ) {
   $your_pdf_path = 'http://www.mitbilligeur.dk/wp-content/handelsbetingelser.pdf';   
$attachments[] = $your_pdf_path;
 return $attachments;