woocommerce_create_order, null, $this
woocommerce_create_order, null, $this
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_create_order, null, $this') is found 1 times:
- /includes/class-wc-checkout.php line 396
* * @param int|null $order_id Can be set to an order ID to short-circuit the default order creation process. * @param WC_Checkout $checkout Reference to the current WC_Checkout instance. */ $order_id = apply_filters( 'woocommerce_create_order', null, $this ); if ( $order_id ) { return $order_id; } try { $order_id = absint( WC()->session->get( 'order_awaiting_payment' ) );