I am using the Advanced Forms plug-in. See: https://wordpress.org/plugins/advanced-forms/. I am using that form to create a CPT entry with the fields I created in ACF Pro. Together with submitting the content to the CPT, I would like to create a dedicated user, which is allowed to only edit that post. Is there a way to get that done via the ACF front end form?
I honestly don’t have a clue. You can use either an acf/pre_save_post filter or an acf/save_post action to do something after acf has saved the field values, but how to create a user that is only allowed to edit a post that was just created is not something I’ve seen and not something that ACF will do for you. Look into creating a user in code for WP and search for how to make it possible for them to only edit a single post.
Well, it does ‘feel’ like normal to me, using a front-end form to submit a CPT record (with ACF PRO fields) that he or she becomes the ‘owner’ of that records and could edit it later again, also through the front-end after logging in.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users