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:

dashboard widget error

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.