apply_filters ( 'jetpack_cdn_plugin_slug_and_version', array $values )

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.

Source file: modules/photon-cdn.php

View in GitHub



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


Since: Jetpack 6.6.0


Have a note to contribute?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s