Title: changing capabilities does not work
Last modified: August 20, 2016

---

# changing capabilities does not work

 *  [bingjie2680](https://wordpress.org/support/users/bingjie2680/)
 * (@bingjie2680)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/changing-capabilities-does-not-work/)
 * I would like to change the authors capabilities. so I added some code in the 
   function.php:
 *     ```
       $edit_author= get_role('author');
       $edit_author->remove_cap('delete_posts');
       ```
   
 * but this does not really have effect. any suggestions?

The topic ‘changing capabilities does not work’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [bingjie2680](https://wordpress.org/support/users/bingjie2680/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/changing-capabilities-does-not-work/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
