I have a multi-site network, and want to secure the /wp-admin/ms-delete-site.php so that it does not execute. We want to manage site deletions from the command line only.
I have added a call to wp_die() at the top for now, but I would prefer to handle this in a plugin, and not make any changes to the WP core files.
What is the best way to implement this in a plugin?