Home › Forums › ACF PRO › Auto_update title post using acf › Reply To: Auto_update title post using acf
Hi @bill
You can do this by hooking into acf/save_post action hook. Then just retrieve your newly saved meta field and modify the post title using wp_update_post.
http://www.advancedcustomfields.com/resources/acfsave_post/
You might also want to read up on wp_update_post here and specifically the Avoid infinite loop section since that will be applicable to your situation.
https://codex.wordpress.org/Function_Reference/wp_update_post
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.