Advertisement
jrevillini

rewrite of func in ap-admin-theme

May 7th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. /**
  2.  * Add CSS file link
  3.  */
  4. function wb_admin_css() {
  5.     $url = plugins_url('/wp-admin.css', __FILE__);
  6.     //$url = get_settings('siteurl') . '/wp-content/plugins/wp-admin-theme/wp-admin.css';
  7.     // echo '
  8.     // <link rel="stylesheet" type="text/css" href="' . $url . '" />
  9.     // <link rel="stylesheet" href="/wp-admin/css/upload.css" type="text/css" />
  10.     // ';
  11.     wp_enqueue_style( 'wp-admin-theme', $url );
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement