[wp-hackers] Limit number of post_type published by user

Joaquin Rodriguez Montero yojoaquin at gmail.com
Mon Jul 19 15:08:41 UTC 2010


Hi guys,

I'm driving mad finding out how could I achieve this. Say I have a custom
post_type "Listings" and I want each registered author to be allowed to
publish just 1 entry of this type, is that possible?

A work around (just thought about it before sending this email) will be to
create a new entry "Listing" automatically for every new author and allow
him to edit that one (as it'll be assigned to him that shouldn't be a
problem) and won't allow him to publish a new one.. but it's tricky..

Thanks!

Chocks


More information about the wp-hackers mailing list