public bypass_theme_api_result ( array | object | WP_Error $res, string $action, object $args ) : boolean | ||
$res | array | object | WP_Error | WordPress.org Themes API response. |
$action | string | Requested action. Likely values are 'theme_information', 'feature_list', or 'query_themes'. |
$args | object | Arguments used to query for installer pages from the WordPress.org Themes API. |
return | boolean | An empty array if enabled, otherwise the existng result. |