Support

Account

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.