Skip to content

Instantly share code, notes, and snippets.

@javiergbas
Last active September 21, 2017 09:29
Show Gist options
  • Save javiergbas/87611d1c2ea8d6d7faca to your computer and use it in GitHub Desktop.
Save javiergbas/87611d1c2ea8d6d7faca to your computer and use it in GitHub Desktop.
//Stop loading WPML language selector css & js
define('ICL_DONT_LOAD_NAVIGATION_CSS', true);
define('ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true);
define('ICL_DONT_LOAD_LANGUAGES_JS', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment