Automattic\WooCommerce\Internal\Orders
OrderAttributionController::register
Register this class instance to the appropriate hooks.
Method of the class: OrderAttributionController{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$OrderAttributionController = new OrderAttributionController(); $OrderAttributionController->register();
OrderAttributionController::register() OrderAttributionController::register code WC 9.9.5
public function register() { // Don't run during install. if ( Constants::get_constant( 'WC_INSTALLING' ) ) { return; } add_action( 'init', array( $this, 'on_init' ) ); }