WP All Import – Using Xpath to set a select value

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com

I’m working on setting up an import using WP All Import, the idea is to update/add/remove posts within a custom post type which contain ACF fields.

The CSV we are importing contains a column called “Feed ID” which holds data like Apple12343, Banana98799, Carrot2198379, Onion1287361 and so on.

What I want to achieve is to populate an ACF select box value that has options like ‘Fruit’ and ‘Vegetable’, depending on the Feed ID value, using XPath. So essentially I need some sort of function that will take the first part of the feed ID (letters only), then assign the select box value based on that. Is this doable?

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com