Support » Plugin: Polylang » Deactivate Flags in the Backend

  • Hi,

    i did not find something about this topic via the searches.

    Is it possible to deactivate the flags in the backend and showing the language code instead?

    The hard way would be to delete/rename the .png files, so the alt-tag is being displayed, but thats not the perfect way.

Viewing 2 replies - 1 through 2 (of 2 total)
  • bej-soan


    Okay, for now I will just delete the flag files for the backend.

    Plugin Author Chouby


    You can add these lines either in functions.php or in a custom plugin.

    add_filter('pll_get_flag', 'no_flag_on_admin');
    function no_flag_on_admin($flag) {
      return is_admin() ? '' : $flag;

    You will need the development version ( or future 1.0.2

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deactivate Flags in the Backend’ is closed to new replies.