Automattic\WooCommerce\Admin\API\Reports\Products

DataStore::initpublic staticWC 1.0

Set up all the hooks for maintaining and populating table data.

Method of the class: DataStore{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = DataStore::init();

DataStore::init() code WC 9.9.5

public static function init() {
	add_action( 'woocommerce_analytics_delete_order_stats', array( __CLASS__, 'sync_on_order_delete' ), 10 );
}