Update post meta data (custom field) by post link

Question

I have a post in my WordPress website, which has lot of custom fields. I have an Excel sheet with “post link” – “custom field data” combination. That custom field (video URL) is already set for each post, but now I need to change and update those links based on the Excel sheet. I don’t have a “post_id – post meta data” combination, just link and appropriate meta data value.

Is there a way to update this data with some code?

0
, Anna Gabrielyan 2 years 2020-01-05T09:42:01-05:00 0 Answers 81 views 0

Leave an answer

Browse
Browse