undefined function pll_current_language();
-
I am getting undefined function pll_current_language()
Uncaught Error: Call to undefined function pll_current_language()
All language pages works okay.
I checked the core:
function pll_current_language( $field = ‘slug’ ) {
return isset( PLL()->curlang->$field ) ? PLL()->curlang->$field : false;
}
So it should work properly, but it doesnt.
How to solve this issue?
The topic ‘undefined function pll_current_language();’ is closed to new replies.