To do this automatically your would need to hook into whatever it is that is saving these post in the first place and the field would need to exist already being created by whatever is creating the posts. What I’ve given you will only work when editing a post in the admin.
Viewing 6 posts - 1 through 6 (of 6 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