WordPress 3.0 beta 1 documentation kindly provided to you by Hay Kranen
| [ Index ] |
PHP Cross Reference of WordPress 3.0 beta 1 |
|
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Dashboard Administration Panel 4 * 5 * @package WordPress 6 * @subpackage Administration 7 */ 8 9 /** Load WordPress Bootstrap */ 10 require_once ('admin.php'); 11 12 /** Load WordPress dashboard API */ 13 require_once (ABSPATH . 'wp-admin/includes/dashboard.php'); 14 15 wp_dashboard_setup(); 16 17 wp_enqueue_script( 'dashboard' ); 18 wp_enqueue_script( 'plugin-install' ); 19 wp_enqueue_script( 'media-upload' ); 20 wp_admin_css( 'dashboard' ); 21 wp_admin_css( 'plugin-install' ); 22 add_thickbox(); 23 24 $title = __('Dashboard'); 25 $parent_file = 'index.php'; 26 27 add_contextual_help($current_screen, '<p>' . __('The modules on this screen can be arranged in several columns. You can select the number of columns from the Screen Options tab.') . "</p>\n" . drag_drop_help() ); 28 29 require_once ('admin-header.php'); 30 31 $today = current_time('mysql', 1); 32 ?> 33 34 <div class="wrap"> 35 <?php screen_icon(); ?> 36 <h2><?php echo esc_html( $title ); ?></h2> 37 38 <div id="dashboard-widgets-wrap"> 39 40 <?php wp_dashboard(); ?> 41 42 <div class="clear"></div> 43 </div><!-- dashboard-widgets-wrap --> 44 45 </div><!-- wrap --> 46 47 <?php require (ABSPATH . 'wp-admin/admin-footer.php'); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Apr 5 14:26:09 2010 | Cross-referenced by PHPXref 0.7 |