Home › Forums › General Issues › Update post title with ACF field › Reply To: Update post title with ACF field
Using acf/pre_save post only works on front end forms, i does not work in the WP admin.
Setting the post title based on an ACF field is generally done using acf/save_post and does not involve altering $_POST['acf']['_post_title']
.
The older post I linked to explains how to do this using acf/save_post, which is what I would use.
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.