In this article

filter

jetpack_wpcom_theme_skip_download

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. The filter can also return an instance of WP_Error; in which case the endpoint response will contain this error.

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

How to use this hook

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