I created a custom field and I want him to dynamically fill the publish post date when I publish a post.
If I publish a post today, I want when the action of publishing is done to find 30/09/2020 in my custom field
If I schedule my post for tomorrow then I want to find tomorrow 01/10/2020 in my custom field.
Same idea if I publish my article at an earlier date.
But I always get today’s date and not the real published date.
One other thing, I don’t want my custom field to update when I will update my post in the future. So I thought about a condition like : IF my custom field is not empty THEN i do nothing but I am not able to do it.
Any ideas ?
Thanks by advance and sorry for my poor english.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users