Restrict Post Type to a Limit that Doesn’t Cycle and Excludes Deletes
-
Hello,
Is it possible to limit a post type so a user can only have ‘x’ number of that post type total, published/live on the site at any given time?
For example, I’m trying to restrict specific users (by their user role) from, say, being able to have more than 3 products published on the website at any given time, forever (no cycle or one that will never come (e.g. 100 year cycle)).
Although if they delete a product, they’d be able to create/publish another product again, just so long as they do not have more than 3 products published/live at any given time.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Restrict Post Type to a Limit that Doesn’t Cycle and Excludes Deletes’ is closed to new replies.