ProCacheCDN::cdn method
Get or set runtime CDN HTML attributes
Usage
// basic usage
$array = $procache->cdn->attrs();
// usage with all arguments
$array = $procache->cdn->attrs(array $attrs = [], bool $replace = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$attrs (optional) | array | Attributes to add or omit to get current attributes |
$replace (optional) | bool | Replace all existing attributes (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