Skip Navigation

[Geschlossen] Custom Capabilities for Custom Post Types

This support ticket is created vor 10 Jahre, 8 Monate. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 3 Antworten, has 3 Stimmen.

Last updated by Darryl vor 10 Jahre, 8 Monate.

Assigned support staff: bruce.

Author
Artikel
#10413

When a custom post type is created with types, does it automatically get assigned generic post capabilities? i.e.: edit_post, delete_post, etc..
I need for certain post types to only be editable by certain user roles, but I can't seem to separate my custom post types from generic posts in this regard.

#10489

Hi Matthew,

Types doesn't set the post capabilities. This is something we'll be adding in the future. There are other plugins available now that manage role capabilities.

Best regards,
Bruce.

#10659

Unfortunately I need this functionality asap.
Is there a way I can manually set a custom capability_type to my post types that I've created with Types?

By default they use edit_post, publish_post, etc. I need to have edit_custompost1, publish_custompost1, etc.

Is this possible or do I need to start from scratch and manually register all of my post types in order to have custom capabilites?

#10663

have a look at membership plugins

Das Thema „[Geschlossen] Custom Capabilities for Custom Post Types“ ist für neue Antworten geschlossen.