apply_filters( 'llms_generator_sideload_hosts_blocklist', string[] $blocked_hosts )
List of hostnames from which sideloading is explicitly disabled
Description Description
If the source url of an image is from a host in this list, the image will not be sideloaded during generation.
By default the current site is included in the blocklist ensuring that images aren’t sideloaded into the same site.
Parameters Parameters
- $blocked_hosts
-
(string[]) Array of hostnames.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |