Home › Forums › General Issues › Create/update post title from ACF fields › Reply To: Create/update post title from ACF fields
Hello,
the problem with this solution is, that this triggers the update of the post two times:
1. The actual change
2. The wp_update_post()
function to update the title based on an ACF field
As a result, the revisions get two entries each time they are saved. Is there a way to prevent this?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.