Automattic\WooCommerce\Internal\Orders
OrderAttributionController::display_origin_column()
Display the origin column in the orders table.
Метод класса: OrderAttributionController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->display_origin_column( $order_id ): void;
- $order_id(int) (обязательный)
- The order ID.
Код OrderAttributionController::display_origin_column() OrderAttributionController::display origin column WC 9.6.1
private function display_origin_column( $order_id ): void { try { // Ensure we've got a valid order. $order = $this->get_hpos_order_object( $order_id ); $this->output_origin_column( $order ); } catch ( Exception $e ) { return; } }