> 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/cms/wordpress/helpers-functions-1/weglot_render_default_button.md).

# weglot\_render\_default\_button

This filter allows you to modifiy the content after the default switcher is added

The filter receives the page HTML (a string) once the default switcher has been added, and must return it.

```php
add_filter( 'weglot_render_default_button', 'custom_weglot_render_default_button' );
function custom_weglot_render_default_button( $html ) {
    // Edit the HTML here.
    return $html;
}
```
