• Creator
  • #27250
    Resolved Ulysse

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #27251

    In fact, the status is well set for a new post, but when the use edits a published post, the status is not changed to "pending". It stays "published".
    Is there a way to change that?

    Long Nguyen


    It works well as you tried. The post is set to status Published does not change, the user cannot update the post status via the Frontend Submission.

    This topic might help you on this case https://wordpress.org/support/topic/approval-process-for-posts/


    OK. Thank you. I'll try to find a plugin to manage this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.