Skip to content

Auto create connections with a function? #573

Open
@fine-G

Description

@fine-G

How can I create connection with an action on creating and updating a post?

My CPT posts that should connected to an "parent" CPT have already an ACF-Realtionship connection between these posts. To make this connection double is not userfriendly.

Is there an action I can call on the create and edit post hooks?
My idea is to auto-create the connection by saving the child post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions