Created
September 23, 2012 15:02
-
-
Save pippinsplugins/3771925 to your computer and use it in GitHub Desktop.
Load the EDD admin CSS on the dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pw_edd_load_admin_css( $hook ) { | |
if( $hook != 'index.php' ) | |
return; | |
wp_enqueue_style('edd-admin', EDD_PLUGIN_URL . 'includes/css/edd-admin.css'); | |
} | |
add_action( 'admin_enqueue_scripts', 'pw_edd_load_admin_css' ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment