In this article

filter

jetpack_cdn_plugin_slug_and_version

Filters Jetpack CDN’s plugin slug and version number. Can be used to override the values that Jetpack uses to retrieve assets. For example, when testing a development version of Jetpack the assets are not yet published, so you may need to override the version value to either trunk, or the latest available version. Expects the values to be returned in an array.

Parameters

$values
array

array( $slug = the plugin repository slug, i.e. jetpack, $version = the plugin version, i.e. 6.6 )

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.