Merge pull request #8062 from Victoor/master

Add order to woocommerce_get_return_url filter
This commit is contained in:
Mike Jolley 2015-05-01 15:36:16 +01:00
commit 3e8ba7d591
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 );
}
/**