Skip to content

Instantly share code, notes, and snippets.

@chrisguitarguy
Created November 18, 2011 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisguitarguy/1377921 to your computer and use it in GitHub Desktop.
Save chrisguitarguy/1377921 to your computer and use it in GitHub Desktop.
The print_r of the WordPress dashboard widgets array
Array
(
[dashboard] => Array
(
[normal] => Array
(
[core] => Array
(
[dashboard_right_now] => Array
(
[id] => dashboard_right_now
[title] => Right Now
[callback] => wp_dashboard_right_now
[args] =>
)
[dashboard_recent_comments] => Array
(
[id] => dashboard_recent_comments
[title] => Recent Comments Configure
[callback] => wp_dashboard_recent_comments
[args] =>
)
[dashboard_incoming_links] => Array
(
[id] => dashboard_incoming_links
[title] => Incoming Links Configure
[callback] => wp_dashboard_incoming_links
[args] =>
)
[dashboard_plugins] => Array
(
[id] => dashboard_plugins
[title] => Plugins
[callback] => wp_dashboard_plugins
[args] =>
)
)
)
[side] => Array
(
[core] => Array
(
[dashboard_quick_press] => Array
(
[id] => dashboard_quick_press
[title] => QuickPress
[callback] => wp_dashboard_quick_press
[args] =>
)
[dashboard_recent_drafts] => Array
(
[id] => dashboard_recent_drafts
[title] => Recent Drafts
[callback] => wp_dashboard_recent_drafts
[args] =>
)
[dashboard_primary] => Array
(
[id] => dashboard_primary
[title] => WordPress Blog Configure
[callback] => wp_dashboard_primary
[args] =>
)
[dashboard_secondary] => Array
(
[id] => dashboard_secondary
[title] => Other WordPress News Configure
[callback] => wp_dashboard_secondary
[args] =>
)
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment