Get or set runtime CDN HTML attributes
Usage
// basic usage
$array = $proCacheCDN->attrs();
// usage with all arguments
$array = $proCacheCDN->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
ProCacheCDN methods and properties
API reference based on ProcessWire core version 3.0.236