pll_the_languages
-
Hi,
I have embedded the language switcher to my site and I’m using the pll_the_languages function. I added the parameter ‘display_names_as’ => ‘slug’, but the site still shows the whole name of the language instead of the slug. My whole code is pll_the_languages( array( ‘show_flags’ => 0,’show_names’ => 1,‘display_names_as’ => ‘slug’ ) );
How can I make the function to display the slug?
The topic ‘pll_the_languages’ is closed to new replies.