Tagged: Date Format
- Ross Moderator(Private) May 25, 2020 at 10:29 am #245711
It looks like your license is expired. Please renew to continue to receive support.
In regards to your question, this would be a case of editing the values using a custom script or possibly a plugin – it also depends on how they’ve been added in the first place.
ThanksRoss Moderator(Private) May 25, 2020 at 10:36 am #245716
So you would create a WP loop to go through the post type you want, and in that loop you would update post meta like this:
Now, what you actually want to do, is replace the original post meta with the new formatted data.
So you would get the existing post meta (using
get_post_metafunction), convert it using PHP date function:
And save it back to the post using
update_post_metaall in that loop.
You must be logged in to reply to this topic.
Our support hours are:10am - 5pm (GMT), Monday - Friday
Please be aware that tickets opened over the weekend will looked at on Monday.