Tips on Customizing Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score

How to Hide the "Powered Cache" Admin Menu

function plt_hide_powered_cache_menus() {
	//Hide the "Powered Cache" menu.
	remove_menu_page('powered-cache');
}

add_action('admin_menu', 'plt_hide_powered_cache_menus', 11);

Where do I put this code?

How to Hide the "Powered Cache" Meta Box

function plt_hide_powered_cache_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "Powered Cache" meta box.
	remove_meta_box('powered_cache_post_meta', $screen->id, 'side');
}

add_action('add_meta_boxes', 'plt_hide_powered_cache_metaboxes', 20);