dimanche 19 avril 2015

How to get admin dashboard widgets?

I want to replace my default wordpress admin dashboard. How can I get all dashboard widgets?


Dashboard Widgets API Documentation explains to use get_option. But this option doesn't exist in my case (so it just returns (bool) false - I'm confused.



get_option( 'dashboard_widget_options' )


What I basically want to get is the content + tile of each widget to build my own overview of widgets.


Aucun commentaire:

Enregistrer un commentaire