- This topic has 3 replies, 2 voices, and was last updated 3 months, 2 weeks ago by .
I created my form. And so my users can add a post, they can see the list of the posts.
[mb_frontend_form id="fields-for-agent" post_type="agent"]
Now, I want the post submitted by the user to be "pending" instead of "publish". So I have added the attribute post_status to the previous code, like that
[mb_frontend_form id="fields-for-agent" post_type="agent" post_status="pending"]
But it does not work. The status of the post does not change when the user edit the post.
What do I do wrong?
Thank you for your help.
- You must be logged in to reply to this topic.