> 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_button_html.md).

# weglot\_button\_html

You can find an exemple [here](https://developers.weglot.com/wordpress/use-cases/language-selector-styling#example-adding-code-before-after-the-button).

```php
add_filter( 'weglot_button_html', 'custom_weglot_button_html', 10, 2 );
```
