woocommerce_order_payment_status_changed

woocommerce_order_payment_status_changed

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_order_payment_status_changed') is found 1 times:

  • /includes/class-wc-order.php line 468
    						 * @since 3.9.0
    						 * @param int Order ID
    						 * @param WC_Order Order object
    						 */
    						do_action( 'woocommerce_order_payment_status_changed', $this->get_id(), $this );
    					}
    				} else {
    					/* translators: %s: new order status */
    					$transition_note = sprintf( __( 'Order status set to %s.', 'woocommerce' ), wc_get_order_status_name( $status_transition['to'] ) );
    
    					// Note the transition occurred.