[ Index ]

PHP Cross Reference of Wordpress 2.9.1

title

Body

[close]

/wp-admin/includes/ -> dashboard.php (summary)

WordPress Dashboard Widget Administration Panel API

File Size: 957 lines (37 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 0 files

Defines 24 functions

  wp_dashboard_setup()
  wp_add_dashboard_widget()
  _wp_dashboard_control_callback()
  wp_dashboard()
  wp_dashboard_right_now()
  wp_dashboard_quick_press()
  wp_dashboard_recent_drafts()
  wp_dashboard_recent_comments()
  _wp_dashboard_recent_comments_row()
  wp_dashboard_incoming_links()
  wp_dashboard_incoming_links_output()
  wp_dashboard_incoming_links_control()
  wp_dashboard_primary()
  wp_dashboard_primary_control()
  wp_dashboard_rss_output()
  wp_dashboard_secondary()
  wp_dashboard_secondary_control()
  wp_dashboard_secondary_output()
  wp_dashboard_plugins()
  wp_dashboard_plugins_output()
  wp_dashboard_cached_rss_widget()
  wp_dashboard_trigger_widget_control()
  wp_dashboard_rss_control()
  wp_dashboard_empty()

Functions
Functions that are not part of a class:

wp_dashboard_setup()   X-Ref
Registers dashboard widgets.

handles POST data, sets up filters.


wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_callback = null )   X-Ref
No description

_wp_dashboard_control_callback( $dashboard, $meta_box )   X-Ref
No description

wp_dashboard()   X-Ref
Displays the dashboard.


wp_dashboard_right_now()   X-Ref
No description

wp_dashboard_quick_press()   X-Ref
No description

wp_dashboard_recent_drafts( $drafts = false )   X-Ref
No description

wp_dashboard_recent_comments()   X-Ref
Display recent comments dashboard widget content.


_wp_dashboard_recent_comments_row( &$comment, $show_date = true )   X-Ref
No description

wp_dashboard_incoming_links()   X-Ref
No description

wp_dashboard_incoming_links_output()   X-Ref
Display incoming links dashboard widget content.


wp_dashboard_incoming_links_control()   X-Ref
No description

wp_dashboard_primary()   X-Ref
No description

wp_dashboard_primary_control()   X-Ref
No description

wp_dashboard_rss_output( $widget_id )   X-Ref
{@internal Missing Short Description}}

param: int $widget_id

wp_dashboard_secondary()   X-Ref
No description

wp_dashboard_secondary_control()   X-Ref
No description

wp_dashboard_secondary_output()   X-Ref
Display secondary dashboard RSS widget feed.

return: unknown

wp_dashboard_plugins()   X-Ref
No description

wp_dashboard_plugins_output()   X-Ref
Display plugins most popular, newest plugins, and recently updated widget text.


wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array()   X-Ref
Checks to see if all of the feed url in $check_urls are cached.

If $check_urls is empty, look for the rss feed url found in the dashboard
widget optios of $widget_id. If cached, call $callback, a function that
echoes out output for this widget. If not cache, echo a "Loading..." stub
which is later replaced by AJAX call (see top of /wp-admin/index.php)

param: int $widget_id
param: callback $callback
param: array $check_urls RSS feeds
return: bool False on failure. True on success.

wp_dashboard_trigger_widget_control( $widget_control_id = false )   X-Ref
Calls widget control callback.

param: int $widget_control_id Registered Widget ID.

wp_dashboard_rss_control( $widget_id, $form_inputs = array()   X-Ref
The RSS dashboard widget control.

Sets up $args to be used as input to wp_widget_rss_form(). Handles POST data
from RSS-type widgets.

param: string widget_id
param: array form_inputs

wp_dashboard_empty()   X-Ref
Empty function usable by plugins to output empty dashboard widget (to be populated later by JS).




Generated: Fri Jan 8 00:19:48 2010 Cross-referenced by PHPXref 0.7