• 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?

    • This topic was modified 8 years, 6 months ago by RonaldS.
    • This topic was modified 8 years, 6 months ago by RonaldS.

The topic ‘undefined function pll_current_language();’ is closed to new replies.