Undefined function `pll_get_post`
-
This happens when you enable Polylang without adding languages. Not common but an edge case with multisites using each-other’s posts.
There are multiple locations you check whether the Polylang version constant is defined. I think it’s better to check
function_exists( 'pll_get_post' )
.Is there a public GitHub repo available? I’ll create a pull request!
Cheers, Jory
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Undefined function `pll_get_post`’ is closed to new replies.