• I’d like to remove a capability/privilege from the “Editor” user on our site, but I can’t find the file where the code is located. Any help would be appreciated!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • They aren’t stored in an actual file anywhere. It’s set in the database, so you need something to interact with that.

    The normal WordPress way is ot use the remove_cap() function to remove the capability that you don’t want the editors to have.

    Thread Starter mmoconnor23

    (@mmoconnor23)

    I’m not very familiar with databases….how would I interact with it? I saw the remove_cap() function, but just don’t know where to use it.

    I’d suggest creating a small plugin that you can use. Be warned that it’s all techy PHP code writing, but that’s really the only way to do it. There’s no fine-grained admin options for what you want to do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where is the file that contains the users and their associated privileges?’ is closed to new replies.