Office Address

41/D, West Brahmondi, Narsingdi

Phone Number


Email Address

function language_switcher_fun( $atts ){
	return ob_get_clean();
add_shortcode( 'language_switcher_shortcode', 'language_switcher_fun' );
Code language: PHP (php)

The do_action('wpml_add_language_selector'); action outputs the language switcher based on the options set in the Custom Language Switchers section in WPML ? Languages.

You can use it like this [language_switcher_shortcode]

Written by

Maidul Islam

I am a freelance web developer.Like to share what i learn.