Created
March 18, 2020 17:12
-
-
Save rali14/4aa8bcc569126cf1509d5d5fce5edaf5 to your computer and use it in GitHub Desktop.
Hide notices from 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', 'my_custom_fonts'); | |
function my_custom_fonts() { | |
echo '<style> | |
.notice-error { | |
display: none; | |
} | |
</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment