Allow 'Editor' to flush/purge cache
-
Is there anything I could add to my functions.php file to allow an editor of a site to be able to ‘flush or purge the cache’?
Or as an alternative question, to reach the same goal…
I am using the plugin Capability Manager Enhanced
And on this support thread (https://wordpress.org/support/topic/permission-per-plugin?replies=2), the answer given sums up what we need to know:That would depend entirely on the other plugin code. Capability Manager Enhanced can add or remove capabilities from WordPress role definitions. In other words, it lets you turn switches on or off. The wiring of those switches into actual website behavior depends on the code in WordPress or (in this case) other plugins. If the other plugin supports a custom capability, you can add that to roles using CME.
Any guidance would be appreciated, thanks.
The topic ‘Allow 'Editor' to flush/purge cache’ is closed to new replies.