Created
January 31, 2023 00:13
-
-
Save jackfearing/fa5cd0f431e118742421f941ec4d28e6 to your computer and use it in GitHub Desktop.
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 | |
if(ICL_LANGUAGE_CODE=='en'){ | |
echo 'content in english'; | |
} | |
if(ICL_LANGUAGE_CODE=='es'){ | |
echo 'content in spanish'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment