RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_payment_statuses

rpress_payment_statuses

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 );

How can we help?