woocommerce_order_status_changed

woocommerce_order_status_changed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_order_status_changed') is found 1 times:

  • /includes/class-wc-order.php line 447
    					// Note the transition occurred.
    					$this->add_status_transition_note( $transition_note, $status_transition );
    
    					do_action( 'woocommerce_order_status_' . $status_transition['from'] . '_to_' . $status_transition['to'], $this->get_id(), $this );
    					do_action( 'woocommerce_order_status_changed', $this->get_id(), $status_transition['from'], $status_transition['to'], $this );
    
    					// Work out if this was for a payment, and trigger a payment_status hook instead.
    					if (
    						/**
    						 * Filter the valid order statuses for payment.
    						 *
    

See this hook used in plugins: