how to add codes to functions.php file
-
I want to add below snippets to functions.php file. How I will add these??
add_filter( ‘woocommerce_checkout_fields’ , ‘remove_company_fields’);
function remove_company_fields( $fields ){unset($fields[‘billing’][‘billing_company’]);
unset($fields[‘shipping’][‘shipping_company’]);return $fields;
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to add codes to functions.php file’ is closed to new replies.