LLMS_Assets::__construct( string $package_id, array[] $defaults = array() )
Constructor
Description Description
Parameters Parameters
- $package_id
-
(Required) An ID used to identify the originating package (plugin or theme) of the asset handler instance.
- $defaults
-
(Optional) Array of asset definitions values. Accepts a partial list of values that is merged with the default defaults.
Default value: array()
Source Source
File: includes/class-llms-assets.php
Changelog Changelog
Version | Description |
---|---|
4.9.0 | Replace defaults instead of merging them. |
4.4.0 | Introduced. |