Last active
November 25, 2015 17:22
-
-
Save duroe5698/6b39d6462c8af38a296d to your computer and use it in GitHub Desktop.
Create custom admin styles for WordPress 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
<?php | |
add_action('admin_head', 'md_custom_user_panel'); | |
function md_custom_user_panel() { | |
global $current_user; | |
get_currentuserinfo(); | |
if ( USER ID == $current_user->ID ) { | |
echo '<style> | |
YOUR CUSTOM ADMIN STYLES HERE | |
</style>'; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment