apply_filters( "llms_get_{$type}_asset_defaults", array $defaults , string $package_id )
Filter the default values used to register or enqueue an asset
Description Description
The dynamic portion of this filter, {$type}
, refers to the asset type. Either "script" or "style".
Parameters Parameters
- $defaults
-
(array) Default definition values.
- $package_id
-
(string) An ID used to identify the originating plugin or theme that defined the asset.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |