Created
January 12, 2015 22:59
-
-
Save davidperezgar/4f15ef2f133f7f6c3d93 to your computer and use it in GitHub Desktop.
Not Load CSS and don't promote for WPML Plugin in functions file
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
<?php | |
//Not load JS and CSS | |
define('ICL_DONT_LOAD_NAVIGATION_CSS', true); | |
define('ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true); | |
define('ICL_DONT_LOAD_LANGUAGES_JS', true); | |
//Not Load advertising | |
define("ICL_DONT_PROMOTE", true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment