I was using: add_action('publish_locations', 'duplicate_pages_for_new_location', 10, 2);
The docs didn’t provide much low level information for new users, so I had to delve into the docs a bit more and decided to give this a try, which appears to work: add_action('acf/save_post', 'duplicate_pages_for_new_location');
I hope this solution proves helpful!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users