WordPress Snippets at WPcustoms

Add css file to admin area

Create wp-admin.css in your theme folder and include it in your wp-admin panel with this function


/**
 * Snippet Name: Add css file to admin area
 * Snippet URL: http://www.wpcustoms.net/snippets/add-css-file-to-admin-area/
 */
 // Create wp-admin.css in your theme folder
function wpc_add_custom_adminCSS() {
  echo '';
}
add_action('admin_head', 'wpc_add_custom_adminCSS');