WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
possible duplicate of How do I create a section in the dashboard w/ an input field – s_ha_dum May 28 '13 at 18:24
my question is how can I display the widget on my network Dashboard instead root site Dashboard ! this is not resolved in any your links! – Ghinnersmee May 28 '13 at 19:39

You need the wp_network_dashboard_setup action instead of wp_dashboard_setup

share|improve this answer
thank you !!!!! – Ghinnersmee May 28 '13 at 22:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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