Automattic\WooCommerce\Admin\API\Reports\Coupons
DataStore::init()
Set up all the hooks for maintaining and populating table data.
Method of the class: DataStore{}
No Hooks.
Return
null
. Nothing.
Usage
$result = DataStore::init();
DataStore::init() DataStore::init code WC 7.3.0
public static function init() { add_action( 'woocommerce_analytics_delete_order_stats', array( __CLASS__, 'sync_on_order_delete' ), 5 ); }