Home › Forums › Front-end Issues › How do you create post_title from another field(s) in ACF Pro? › Reply To: How do you create post_title from another field(s) in ACF Pro?
Bump. Same thing here.
I’ve tried filtering the post title using the acf/update_value filter. But no combination of _post_title, acf-_post_title, post_title, etc. used as key= or name= seems to fire the filter.
add_filter('acf/update_value/name=_post_title', 'cca_acf_update_post_title', 10, 3);
function cca_acf_update_post_title( $value, $post_id, $field )
{
return "name=_post_title";
}
That does nothing.
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.