I tried to use the code from this question: How to Check Disk Space used by Media Library
But it's displaying this error in a Multisite:
How can I display it on my network Dashboard instead root site Dashboard?
You need the wp_network_dashboard_setup action instead of wp_dashboard_setup
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago