Skip to main content

Filter: gk/gravityimport/source/allowed-wrappers

Filters the stream-wrapper schemes accepted as import sources.

Default list covers the object-storage wrappers we deliberately support (vip:// on WP VIP, s3://, gs://, azure://). Add other wrappers here only if the source they expose is trusted — wrappers like phar://, data://, php://, glob://, and compress.zlib:// must NOT be enabled.

Parameters

NameTypeDescription
$allowedstring[]Lower-cased stream-wrapper schemes.
$sourcestringThe full source URI being checked.

Since

Source

Defined in src/Processor.php at line 3270