• Hi, I want to filter onesignal from English pages, I tried get_locale(), pll_current_language() but this codes doesn’t work can you help me please? Thanks a lot

    `function onesignal(){

    if(pll_current_language() == ‘en_US’) {
    add_filter( ‘onesignal_initialize_sdk’);
    }
    }

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Couldn’t get language’ is closed to new replies.