Created
October 10, 2021 05:19
-
-
Save BeyondTheLoop/42ff03ba0cf7b58d956523d4722c83e9 to your computer and use it in GitHub Desktop.
Enqueue custom admin WordPress stylesheet
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
function enqueue_custom_admin_style_sheet() { | |
wp_register_style( 'name_of_custom_style_sheet', 'URL of style sheet goes here', false, '1.0.0' ); | |
wp_enqueue_style('name_of_custom_style_sheet'); | |
} | |
add_action( 'admin_enqueue_scripts', 'enqueue_custom_admin_style_sheet' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment