Automattic\WooCommerce\Admin\Features
Onboarding::get_product_data()
Deprecated from version 6.3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Get dynamic product data from API.
Method of the class: Onboarding{}
No Hooks.
Return
Array
.
Usage
$result = Onboarding::get_product_data( $product_types );
- $product_types(array) (required)
- Array of product types.
Changelog
Deprecated since | 6.3.0 |
Onboarding::get_product_data() Onboarding::get product data code WC 9.7.1
public static function get_product_data( $product_types ) { wc_deprecated_function( 'get_product_data', '6.3' ); return array(); }