Limit submission based on user role

Support MB Frontend Submission Limit submission based on user role

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41080

    Hello,

    My site has 4 plan levels for frontend submission.

    Each plan level is connected to a specific user role.

    I want to limit their submission while they submit a post through the MB Frontend submission, if they already posted their limit quota to show them a custom message instead of the form.

    Let say we have a user with the role of "Start-Up" which is obviously a start-up business owner, the limit will be 1 company, 1 service, 1 portfolio and 1 job vacancy... which are the 4 CPT I have on my website.

    Therefore, how can I limit this submission?

    #41093
    PeterPeter
    Moderator

    Hello,

    Meta Box does not support limiting users from creating posts. You can try to use the if statement to check if the user has a post and then output the frontend submission form or not. Please refer to this topic https://wordpress.stackexchange.com/questions/139818/check-if-current-user-has-post-in-post-type-and-is-author-role

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