Automattic\WooCommerce\Admin\Features
Onboarding::get_theme_data
Deprecated since 6.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Get theme data used in onboarding theme browser.
Method of the class: Onboarding{}
No Hooks.
Returns
Array.
Usage
$result = Onboarding::get_theme_data( $theme );
- $theme(WP_Theme) (required)
- Theme to gather data from.
Changelog
| Deprecated since | 6.3.0 |
Onboarding::get_theme_data() Onboarding::get theme data code WC 10.6.2
public static function get_theme_data( $theme ) {
wc_deprecated_function( 'get_theme_data', '6.3' );
return array();
}