How to Hide Ajax Load More Admin Menus

function plt_hide_ajax_load_more_menus() {
	//Hide "Ajax Load More".
	remove_menu_page('ajax-load-more');
	//Hide "Ajax Load More → Settings".
	remove_submenu_page('ajax-load-more', 'ajax-load-more');
	//Hide "Ajax Load More → Repeater Templates".
	remove_submenu_page('ajax-load-more', 'ajax-load-more-repeaters');
	//Hide "Ajax Load More → Shortcode Builder".
	remove_submenu_page('ajax-load-more', 'ajax-load-more-shortcode-builder');
	//Hide "Ajax Load More → Add-ons".
	remove_submenu_page('ajax-load-more', 'ajax-load-more-add-ons');
	//Hide "Ajax Load More → Extensions".
	remove_submenu_page('ajax-load-more', 'ajax-load-more-extensions');
	//Hide "Ajax Load More → Help".
	remove_submenu_page('ajax-load-more', 'ajax-load-more-help');
	//Hide "Ajax Load More → Licenses".
	remove_submenu_page('ajax-load-more', 'ajax-load-more-licenses');
	//Hide "Ajax Load More → Go Pro".
	remove_submenu_page('ajax-load-more', 'ajax-load-more-go-pro');
}

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

Where do I put this code?