apply_filters( 'classicpress_asset_version', string $version , string $type , string $handle )
Allows modifying the asset version for each script and style.
Parameters
- $version
-
(string) The default version for this asset.
- $type
-
(string) The type of asset being enqueued ('script' or 'style').
- $handle
-
(string) The handle of the asset being enqueued (or
null
to get the default asset version).
Source
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |