WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Onboarding::get_theme_data() public WC 1.0

Get theme data used in onboarding theme browser.

{} It's a method of the class: Onboarding{}

No Hooks.

Return

Array. Nothing.

Usage

$result = Onboarding::get_theme_data( $theme );
$theme(WP_Theme) (required)
Theme to gather data from.

Code of Onboarding::get_theme_data() WC 5.3.0

<?php
public static function get_theme_data( $theme ) {
	return array(
		'slug'                    => sanitize_text_field( $theme->stylesheet ),
		'title'                   => $theme->get( 'Name' ),
		'price'                   => '0.00',
		'is_installed'            => true,
		'image'                   => $theme->get_screenshot(),
		'has_woocommerce_support' => true,
	);
}