Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | public function log_payment_status_update( $payment, $can_redirect, $old_status, $new_status ) { |
||
53 | $payment->add_note( sprintf( |
||
54 | __( 'Payment status changed from "%1$s" to "%2$s".', 'pronamic_ideal' ), |
||
55 | esc_html( $this->plugin->payments_data_store->get_meta_status_label( $old_status ) ), |
||
56 | esc_html( $this->plugin->payments_data_store->get_meta_status_label( $new_status ) ) |
||
57 | ) ); |
||
60 |