Allow editors to Delete Cache from Admin Toolbar
-
Is there some code that I could add to my functions.php to be able to allow the current user if an editor (edit_others_pages) to have access to the Autoptimise in the admin toolbar – so they can Delete Cache?
Something along these lines (currently ‘manage_options’)???
if ( current_user_can( ‘edit_others_pages’ ) && apply_filters( ‘autoptimize_filter_toolbar_show’, true ) )Many thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Allow editors to Delete Cache from Admin Toolbar’ is closed to new replies.