Created
January 23, 2017 15:16
-
-
Save verytwisty/1a327bbb0caced0b35f160049bee36dd to your computer and use it in GitHub Desktop.
Remove Add New Cat from custom Tax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $capabilities = array( | |
| 'manage_terms' => false, | |
| 'edit_terms' => false, | |
| 'delete_terms' => false, | |
| 'assign_terms' => 'edit_posts', | |
| ); | |
| $args = array( | |
| 'capabilities' => $capabilities, | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment