| [ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Handle default dashboard widgets options AJAX. 4 * 5 * @package WordPress 6 * @subpackage Administration 7 */ 8 9 define('DOING_AJAX', true); 10 11 /** Load WordPress Bootstrap */ 12 require_once ( './admin.php' ); 13 14 /** Load WordPress Administration Dashboard API */ 15 require (ABSPATH . 'wp-admin/includes/dashboard.php' ); 16 17 @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); 18 send_nosniff_header(); 19 20 switch ( $_GET['jax'] ) { 21 22 case 'dashboard_incoming_links' : 23 wp_dashboard_incoming_links(); 24 break; 25 26 case 'dashboard_primary' : 27 wp_dashboard_primary(); 28 break; 29 30 case 'dashboard_secondary' : 31 wp_dashboard_secondary(); 32 break; 33 34 case 'dashboard_plugins' : 35 wp_dashboard_plugins(); 36 break; 37 38 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 15 03:55:54 2012 | Hosted by follow the white rabbit. |