Exemple #1
0
function pll_register_string($name, $string, $context = 'polylang', $multiline = false)
{
    if (PLL_ADMIN) {
        PLL_Admin_Strings::register_string($name, $string, $context, $multiline);
    }
}
Exemple #2
0
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);
    }
}