Thêm đoạn sau vào file functions.php
define(‘ALLOW_UNFILTERED_UPLOADS’, true);
Chú ý khi import xong nhớ xóa dòng này đi để website bảo mật hơn
Tham khảo:
Sửa lỗi WordPress ‘Sorry, This File Type Is Not Permitted For Security Reasons’
Sửa lỗi không thể import sản phẩm bằng file csv trên woocommerce