woocommerce_payment_complete_order_status_

woocommerce_payment_complete_order_status_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_payment_complete_order_status_') is found 1 times:

  • /includes/class-wc-order.php line 173
    				$this->save();
    
    				do_action( 'woocommerce_payment_complete', $this->get_id(), $transaction_id );
    			} else {
    				do_action( 'woocommerce_payment_complete_order_status_' . $this->get_status(), $this->get_id(), $transaction_id );
    			}
    		} catch ( Exception $e ) {
    			/**
    			 * If there was an error completing the payment, log to a file and add an order note so the admin can take action.
    			 */
    			$logger = wc_get_logger();