Title: Custom user roles without plugin
Last modified: August 22, 2016

---

# Custom user roles without plugin

 *  [artlover578](https://wordpress.org/support/users/artlover578/)
 * (@artlover578)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/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.

## Tags

 * [custom user roles](https://wordpress.org/support/topic-tag/custom-user-roles/)

 * 0 replies
 * 1 participant
 * Last reply from: [artlover578](https://wordpress.org/support/users/artlover578/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/custom-user-roles-without-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
