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

# weglot\_proxify\_urls

This filter allow you to modify the list of url you want to proxify.

The filter receives a list of absolute URLs (empty by default) and must return it. On translated pages, each listed URL is replaced in the HTML by its Weglot proxy URL, so the resource it points to is served translated.

```php
add_filter( 'weglot_proxify_urls', 'custom_weglot_proxify_urls' );
function custom_weglot_proxify_urls( $urls ) {
    $urls[] = 'https://widget.example.com/embed.html';
    return $urls;
}
```
