Sometimes it is necessary to allow people to post anonymously on the site. This can be normal when we think that requiring registration can end up avoiding filling out a form.
However, for a post to be published on WordPress, the user must be logged in. It is not complicated to make a script so that a simple anonymous form creates a post whose responsible is a previously defined user, however, it is a little more complicated when you need all the resources that are already ready in the metabox plugin.
So, how could I extend the plugin so that it allows the frontend to add posts anonymously?
I think a possible solution would be: