Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Enqueue custom admin WordPress stylesheet
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