ProCacheCDN::cdn method

Get or set runtime CDN file extensions

Usage

// basic usage
$array = $procache->cdn->exts();

// usage with all arguments
$array = $procache->cdn->exts(array $exts = [], bool $replace = false);

Arguments

NameType(s)Description
$exts (optional)array

Extensions to add or omit to get current extensions

$replace (optional)bool

Replace all existing extensions (when setting/adding)? Omit to add more

Return value

array


$procache->cdn methods and properties

API reference based on ProcessWire core version 3.0.252