I’d like to modify just one function in capabilities.php. Specifically, I intend to modify the function “has_cap”.
I don’t want to modify capabilities.php directly, since by doing so, every upgrade will break my wordpress modifications. Is there a way to modify the functions in capabilities.php via plugin, or by any other way that won’t break during an upgrade?
- The topic ‘Modifying functions within capabilities.php – possible via plugin?’ is closed to new replies.