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?
Thank you for your answer – it gave me some ideas :). Yes, rather “or similar”… As I understand it by using pre_save_post you effectively declare post type before saving anything(in hooked function), so I can’t get_post_type before I have any kind of post and that’s because I have both of my end-froms on pages with custom templates, but I can use is_page to know from which of these pages I get my data. But there is another but – I have WPML installed and more than four languages on my website so solution above will bring me to suicidal thoughts. I was hoping to do this using new_post in acf_form(), but there is this problem with post_title. Back to square one.
Sorry for my bad english.
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.