Created
December 18, 2017 18:03
-
-
Save DanielSantoro/504d353e70740c7fb6ce5d73b54bfc60 to your computer and use it in GitHub Desktop.
Add CSS to Admin side
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', 'custom_admin_css'); | |
function custom_admin_css() { | |
echo '<style> | |
#the-list tr.status-wc-cancelled { | |
background-color: #FCACAC; | |
} | |
#the-list tr.status-wc-completed { | |
background-color: #ACFCFC; | |
} | |
</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment