Automattic\WooCommerce\Admin\API\Reports\Orders\Stats

DataStore::init()public staticWC 1.0

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

Метод класса: DataStore{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = DataStore::init();

Код DataStore::init() WC 8.7.0

public static function init() {
	add_action( 'woocommerce_before_delete_order', array( __CLASS__, 'delete_order' ) );
	add_action( 'delete_post', array( __CLASS__, 'delete_order' ) );
}