Hello,
In my custom field meta_value I have 2 retailers: (data are imported by wp all import)
first is ID “4” second is ID “277”
Is it possible remove only ID “277” from meta_value based on date? for example if this ID “277” wasn’t imported/updated/shows in meta_value today than delete this ID “277” below.
but If ID “4” in the same meta_value was imported today than this ID “4” can’t be deleted.
I only want have meta_value data fresh from today, but there are 2 retailer so is it possible delete old added by date? Your plugin will be see date when each retailers was added to meta_value?
1 Retailer ID – 277
i:1;a:5:{s:2:”id”;s:3:”277″;s:13:”product_price”;s:1:”1″;s:16:”product_location”;N;s:12:”product_logo”;N;s:11:”product_url”;s:0:””;}}
2 both Retailers:
a:2:{i:0;a:5:{s:2:”id”;s:1:”4″;s:13:”product_price”;s:4:”1100″;s:16:”product_location”;N;s:12:”product_logo”;N;s:11:”product_url”;s:61:”http://www.smackcoders3.com/wp-ultimate-csv-importer-pro.html”;}
i:1;a:5:{s:2:”id”;s:3:”277″;s:13:”product_price”;s:1:”1″;s:16:”product_location”;N;s:12:”product_logo”;N;s:11:”product_url”;s:0:””;}}
Regards,
Michał