Hi guys! Thanks for this awesome framework/plugin, it really rocks 🙂
I was wondering if someone could shed some light on how could I create a relationship (USER : CPT) via a function that is triggered by a function instead of manually relating the items.
Here’s the scenario: after the logged user performs an action she’s redirected to the same page with some GET variables. I’d like to check that if a variable is true or whatever it automatically adds the CPT to the user’s profile.
Cheers!
J
Hi @yojoaquin
Sounds like this is a bit beyond the scope of the ACF plugin.
You may want to look into the p2p plugin (to connect users to post types) and write some custom actions / functions to do the activity you desire.
ACF is just an interface for saving / loading custom field data. You are talking about a very custom functional experience which will need to be coded by hand.
Thanks
E
🙂 thought so E! Thanks for getting back to me.