Created
November 15, 2017 15:25
-
-
Save asharirfan/94d4c1647a57e25a096aa90dc2aebb70 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/** | |
* Style the Display. | |
* | |
* This method styles the user roles. | |
* | |
* @since 1.0.0 | |
*/ | |
function tmr_style_display() { | |
?> | |
<style> | |
.tmr_user_roles { | |
display: inline-block; | |
text-transform: uppercase; | |
} | |
.tmr_user_roles__head { | |
background: #0085ba; | |
color: #ffffff; | |
padding: 5px 10px; | |
} | |
</style> | |
<?php | |
} | |
// Hook it! | |
add_action( 'admin_head', 'tmr_style_display' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment