rpress_payment_statuses

Author: RestroPress 15 views

This filter is applied to use all available statuses for payments, it is including one parameter.
$payment_statuses -> is containing payment status.

An example of how you can append additional information:

function get_order_status( $payment_statuses ) {
//it returns all the payment statuses.
return $payment_statuses;
}
add_filter( 'rpress_payment_statuses', $payment_statuses );