> For the complete documentation index, see [llms.txt](https://developers.weglot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.weglot.com/wordpress/helpers-functions-1/weglot_flag_css.md).

# weglot\_flag\_css

Lets you customize the flag CSS applied to the switcher.

```php
add_filter( 'weglot_flag_css', 'custom_weglot_flag_css' );
function custom_weglot_flag_css( $css ) {
    return $css;
}
```
