Automattic\WooCommerce\Admin\API\Reports\Orders\Stats
DataStore::init()
Set up all the hooks for maintaining and populating table data.
Метод класса: DataStore{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = DataStore::init();
Код DataStore::init() DataStore::init WC 9.5.1
public static function init() { add_action( 'woocommerce_before_delete_order', array( __CLASS__, 'delete_order' ) ); add_action( 'delete_post', array( __CLASS__, 'delete_order' ) ); }