Home Forums General Issues Auto create child post


Auto create child post

  • I have a custom post type that has 3 custom fields. If I create a post with data filled in those 3 custom fields I want it to auto create child posts for each custom field & using the data from those 3 custom fields as the content. This would create 3 additional posts I also want those additional posts to auto link to the main post.

    How can I do this? please give the easiest way to do this since I’m not a programmer.

  • Hi @ruriko

    There is no direct way of achieving that.

    However you could hook into the acf pre_save function and add customization to create a new posts with the values from the field.

    Here is a link that may help

    Hopefully this helps.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Auto create child post’ is closed to new replies.