July 18, 2018
Similar to WPML, you can create if statements using WP Multilang as follows:
if ( wpm_get_language() == 'pl' ) { echo 'PL'; } if ( wpm_get_language() == 'en' ) { echo 'EN'; } if ( wpm_get_language() == 'de' ) { echo 'DE'; }
Similar to WPML, you can create if statements using WP Multilang as follows:
if ( wpm_get_language() == 'pl' ) { echo 'PL'; } if ( wpm_get_language() == 'en' ) { echo 'EN'; } if ( wpm_get_language() == 'de' ) { echo 'DE'; }
I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.
hi i can set the wpm language by a function like you did in the get