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.

Top ↑

Parameters Parameters


(string[]) Array of hostnames.

Top ↑

Source Source

File: includes/abstracts/llms-abstract-generator-posts.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.