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?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community