Yes, you can!
If you are using
ShortPixel Image Optimizer and you would like, for whatever reason, to hide the menu Media > Bulk ShortPixel, you’ll need to add the following code snippet to your functions.php file.
add_action('admin_menu', function () { remove_submenu_page('upload.php', 'wp-short-pixel-bulk'); }, 20);
If you are not comfortable editing your WordPress files, you can also do the following.
- Install a code snippet plugin like this one.
- Go to Snippets > Add New
- Give the snippet a name, add the code snippet above and choose to “Only run in administration area“.
https://mydomain.com/wp-admin/upload.php?page=wp-short-pixel-bulk (remember to change mydomain.com for your own domain).