0

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?

2

1 Answer 1

2

You need the wp_network_dashboard_setup action instead of wp_dashboard_setup

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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