Add order to woocommerce_get_return_url filter

This commit is contained in:
Víctor Falcón 2015-04-28 14:48:39 +02:00
parent 679a548bc1
commit 226d940e72
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API {
$return_url = str_replace( 'http:', 'https:', $return_url );
}
return apply_filters( 'woocommerce_get_return_url', $return_url );
return apply_filters( 'woocommerce_get_return_url', $return_url, $order );
}
/**