apply_filters ( 'jetpack_wpcom_theme_skip_download', bool $skip_download_filter_result, string $theme_slug )

Filters whether to skip the standard method of downloading and validating a WordPress.com theme. An alternative method of WPCom theme download and validation can be executed during the filter.<p>The filter can also return an instance of WP_Error; in which case the endpoint response will contain this error.</p>

Source file: json-endpoints/jetpack/class.jetpack-json-api-themes-install-endpoint.php

View in GitHub

Parameters

$skip_download_filter_result

(bool) Whether to skip the standard method of downloading and validating a WPCom theme.

$theme_slug

(string) Theme name (slug). If it is a WPCom theme, it should be suffixed with -wpcom.


Changelog

Since: Jetpack 4.4.2


Notes

Have a note to contribute?

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

WordPress.com Logo

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

Google photo

You are commenting using your Google 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