Anonymous user edit post


I have a website with a front end post creation form where an anonymous user can submit their local business ( = custom post type). After the form submit we still have to approve their submission. When their post is approved, it is shown on the website.

Some of the local business owners are asking how they can edit the information from their business on our site. At this moment I think it is impossible, because these people aren’t actually WordPress users and they aren’t “linked” to their post.

So I was thinking about looping over all these custom posts and create a user from the custom email field and automatically send the credentials to them. Also when a user is created it is automatically linked to that specific post.

Is this the right way to achieve this? Or are there other possibilities?


, , Dennis 3 years 2020-04-06T08:51:02-05:00 0 Answers 86 views 0

Leave an answer