rpress_payment_meta_cart_details

Author: RestroPress 19 views

This filter is applied to use the payment cart_details Key from Payment Meta, it is including two parameters.

$cart_details-> is containing cart details.
$payment_id -> is containg payment id.

function get_payment_cart_details( $cart_details ){
// its returns the payment meta of cart details.
return $cart_details;
}
apply_filter( 'rpress_payment_meta_cart_details', 'get_payment_cart_details',10,2 );