Multisite: First Blog w/o Polylang, 2nd with: pll_* fail
-
There is a WordPress Multisite setup as
Blog1
Blog2Blog2 has polylang definitions whilst Blog1 has not
if (!function_exists( 'pll_the_languagest' ) ) die('polylang not installed'); switch_to_blog(2); pll_the_languages();
pll_the_languages() and all the other pll_functions do nothing.
They work only if Blog1 has a setup for polylang as well.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Multisite: First Blog w/o Polylang, 2nd with: pll_* fail’ is closed to new replies.