Skip to content

Instantly share code, notes, and snippets.

@frankiejarrett
Last active February 19, 2016 17:57
Show Gist options
  • Select an option

  • Save frankiejarrett/144913204152a658f254 to your computer and use it in GitHub Desktop.

Select an option

Save frankiejarrett/144913204152a658f254 to your computer and use it in GitHub Desktop.
Always use English in the WP Admin
<?php
add_action( 'plugins_loaded', function() {
add_filter( 'locale', function( $locale ) {
return is_admin() ? 'en_US' : $locale;
} );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment