Automattic\WooCommerce\Internal\Orders
OrderAttributionBlocksController::init()
Bind dependencies on init.
Метод класса: OrderAttributionBlocksController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$OrderAttributionBlocksController = new OrderAttributionBlocksController(); $OrderAttributionBlocksController->init(;
Код OrderAttributionBlocksController::init() OrderAttributionBlocksController::init WC 9.6.0
final public function init( ExtendSchema $extend_schema, FeaturesController $features_controller, OrderAttributionController $order_attribution_controller ) { $this->extend_schema = $extend_schema; $this->features_controller = $features_controller; $this->order_attribution_controller = $order_attribution_controller; }