Last active
April 30, 2021 06:22
-
-
Save mrfoxtalbot/15d326cf154a75b7cd95b4b0c4aaa0b4 to your computer and use it in GitHub Desktop.
Insert custom CSS styles in the WordPress Admin wp-admin
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
add_action('admin_head', 'mrfox_custom_admin_styles'); | |
function mrfox_custom_admin_styles() { | |
echo '<style> | |
.foo { | |
color:red; | |
} | |
</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment