Home › Forums › Backend Issues (wp-admin) › Replacing custom post type post title with an acf? › Reply To: Replacing custom post type post title with an acf?
Hi @stephw
Yes. You can use an action called acf/update_value to hook in and run some custom functionality for the saving of a value.
Please read up on this action on the ACF docs, and then hook into the field via it’s key and use the updated value to update the post with.
WP contains functions to update the post data sich as title, content, etc.
Thanks
E
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.