It would be great to add filters to the return values of the ‘calculate_points_for_discount’ and ‘calculate_points’ functions in the ‘WC_Points_Rewards_Manager’ class.
This would allow plugins such as currency conversion plugins to hook in to the amount of points earned and needed to redeem and modify these values. This is vital to currency conversion plugins, otherwise the wrong amount of points is applied, which could lead to significant losses to the store.
Ouvert
Last updated: décembre 15, 2019
0 commentaire
Log in to comment on this feature request.