Home / Admin / Reverse Receivers
Duplicate Snippet

Embed Snippet on Your Site

Reverse Receivers

Reverses the receivers for PayPal Adaptive Payments

Code Preview
php
<?php
function edd_c_reverse_receivers( $receivers, $payment_id ) {
	$receivers = explode( "\n", $receivers );
	$receivers = implode( "\n", array_reverse( $receivers ) );
	return $receivers;
}
add_filter( 'epap_adaptive_receivers', 'edd_c_reverse_receivers', 10, 2 );

Comments

Add a Comment