My Woocommerce store has virtual products that don’t require shipping. I have disabled the shipping options from the customer on checkout, but now I want to hide it on the backend as well.
When viewing orders on the admin side, I have 3 columns: General Details, Billing Details and Shipping Details. I want to remove the Shipping Details in the third column so that later I can add some custom fields there instead.
I’ve tried using
remove_filter( 'woocommerce_admin_shipping_fields', 'filter_woocommerce_admin_shipping_fields' );
but that doesn’t change anything on the backend.
I could probably do it with some deeply complicated CSS and display:none, but I’d rather just remove it programmatically, like with a remove_filter or something.