Home › Forums › ACF PRO › Create product title + permalink + slug from several custom fields › Reply To: Create product title + permalink + slug from several custom fields
So you don’t want to update the Woo product info but 2 different custom post types.
But you want that to happen when you publish a woo product or have I misunderstood?
My concern is how you get the post ID of both CTPs at the same time. The only way around this would be that both CPTs have an identifier.
When you then run the update, you would need to query both post types for posts with that identifier, this would return the post IDs. You can then update those posts with whatever you need.
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.