I want to set the title of a custom post using data from two fields (first name and last name) when the post is created. I have seen other forum posts on how to combine two fields to another field and have tried a code snippet but its not working for me. I am not a PHP coder so am struggling to understand how to get this to work.
Can you help me set this up?
First name - customer_first_name
Last name - customer_last_name
The field group is set up and working - when I input the data a post is created. All I need to do is set the post title as 'customer_first_name customer_last_name'