Automattic\WooCommerce\Internal\Orders
OrderAttributionController::register()
Register this class instance to the appropriate hooks.
Метод класса: OrderAttributionController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$OrderAttributionController = new OrderAttributionController(); $OrderAttributionController->register();
Код OrderAttributionController::register() OrderAttributionController::register WC 9.6.1
public function register() { // Don't run during install. if ( Constants::get_constant( 'WC_INSTALLING' ) ) { return; } add_action( 'init', array( $this, 'on_init' ) ); }