function pll_register_string($name, $string, $context = 'polylang', $multiline = false) { if (PLL_ADMIN) { PLL_Admin_Strings::register_string($name, $string, $context, $multiline); } }
function pll_register_string($name, $string, $context = 'polylang', $multiline = false) { global $polylang; if ($polylang instanceof PLL_Admin) { PLL_Admin_Strings::register_string($name, $string, $context, $multiline); } }