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