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

# weglot\_get\_options

Lets you modify the complete options array Weglot builds for the request.

```php
add_filter( 'weglot_get_options', 'custom_weglot_get_options' );
function custom_weglot_get_options( $options ) {
    // modify $options
    return $options;
}
```
