I need a function that adds points (set up with the YITH Woocommerce Points and Rewards plugin) when a tag is added to a user from the Accessally plugin.
The information I've been given from the YITH developers is:
You can use the singleton class YITH_WC_Points_Rewards_Earning
if you want add points to a customer call this function
YITH_WC_Points_Rewards_Earning()->add_points( $user_id, $points, $action, $order_id );
$user_id is the id of the customer,
$points the number of points that you want add to the customer
$action a string that describes why these points are added
$order_id can be 0
46 pekerja bebas membida secara purata £166 untuk pekerjaan ini
I have worked with the YITH Points system a lot, and can definitely help set up custom point events. Please message so we can discuss further, Daniel Larson
Hi BizBeautician. What is your website? Which function do you want to add? I'm very familiar with YITH Woocommerce Points and Rewards plugin. Let's contact and discuss further details. M
hi I have gone through your requirements and can surely help you with your requirements. i can start working on it ASAP and can complete this within given time-slot.