allow Editor to clear cache
-
would it be possible to allow users with Editor role to press the “clear cache” button?
i tried editing the ‘manage_options’ capability of /includes/admin/classes/class-wp-rest-cache-admin.php’s function admin_menu(): the Editor can now click on the button, but no real cache purge seems to take effect (it’s only when an Administrator role clicks on the button that changes are shown).
or would you suggest using a role-editing plugin? Members, for instance?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘allow Editor to clear cache’ is closed to new replies.