What do you put in $value
?
Accepted values are:
'name', 'locale', defaults to 'slug'
For your usage, pll_current_language()
should be sufficient.
↧
Chouby on "Epic bug with Polylang without touching anything"
↧