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 null to get the default asset version).


Source

File: wp-includes/script-loader.php

View on GitHub



Changelog

Changelog
Version Description
CP-1.0.0 Introduced. CP-1.0.0