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
| Name | Type | Description |
|---|---|---|
| $allowed | string[] | Lower-cased stream-wrapper schemes. |
| $source | string | The full source URI being checked. |
Since
Source
Defined in src/Processor.php at line 3270