Skip to content
Advertisement

Tag: meta

Updating meta value for specific ids

I am updating post meta with this How can I add this metakey and metavalue not only to post ID 3100, but several other IDs? Answer You can define array of post ids and then you can iterate loop of ids. Try the below code. Update as per OP comment.

Advertisement