Skip to content

Instantly share code, notes, and snippets.

@sidonaldson
Created January 27, 2016 15:24
Show Gist options
  • Save sidonaldson/cd77e362e3482d50a10f to your computer and use it in GitHub Desktop.
Save sidonaldson/cd77e362e3482d50a10f to your computer and use it in GitHub Desktop.
Remove Open-Sans from Wordpress Admin
function replace_admin_open_sans() {
wp_deregister_style( 'open-sans' );
wp_register_style( 'open-sans', false );
wp_enqueue_style( 'open-sans', '' );
}
add_action( 'init', replace_admin_open_sans');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment