Custom user roles without plugin
-
I was wondering if someone could help me out. I would like to create custom user roles, but i would like to allow the user to have access to only one custom post type and i would only like them to edit the post they created under the custom post type.
` $result = add_role( ‘ROLE’, __(
‘ROLE ‘ ),
array(
)
);`
- The topic ‘Custom user roles without plugin’ is closed to new replies.