Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto create connections with a function? #573

Open
fine-G opened this issue Aug 7, 2020 · 0 comments
Open

Auto create connections with a function? #573

fine-G opened this issue Aug 7, 2020 · 0 comments

Comments

@fine-G
Copy link

fine-G commented Aug 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant