Created
December 2, 2016 14:31
-
-
Save corilam/aecf72cdbaae45911ac3c33db6bb326b to your computer and use it in GitHub Desktop.
WPML Get home url of current language
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 $my_home_url = apply_filters('wpml_home_url', get_option('home')); ?> | |
<a href="<?php echo $my_home_url; ?>">Home</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment