init.php
hook on init the plugin
templates/shortcodes/ywpar-customers-points.php
hook before best users tabs
hook after best users tabs
includes/class-yith-wc-points-rewards-shortcodes.php
hook before the checkout thresholds message
hook after the checkout thresholds message
includes/class-yith-wc-points-rewards-referral.php
action description
Paramsint $order_id the ID of the order.
string $action the kind of action.
YITH_WC_Points_Rewards_Customer $customer_referral the referral user object.
includes/class-yith-wc-points-rewards-redeeming.php
action triggered before return calculate price worth
Params
hook before apply discount calculation
includes/class-yith-wc-points-rewards-post-types.php
hook before custom post type registration
hook after custom post type registration
includes/class-yith-wc-points-rewards-orders.php
Hook on points added to the order
Params
WC_Order $order the order.
action triggered before remove point to customer in a refund
Paramsint $total_points_to_refund the points to refund.
WC_Order $order the order.
includes/class-yith-wc-points-rewards-frontend.php
hook before the rewards message
hook before the rewards message
hook after the rewards message
includes/class-yith-wc-points-rewards-extra-points.php
hooks after login points given
Params
YITH_WC_Points_Rewards_Customer $customer customer object
includes/class-yith-wc-points-rewards-expiration-points.php
hook on the expired points email
Params
array $args list of arguments.
includes/class-yith-wc-points-rewards-email.php
hook on the update points email
Params
array $args user email and email content.
includes/class-yith-wc-points-rewards-earning.php
Hook on saved points earned from cart
Params
WC_Order $order the order.
Hook on points added to the order
Params
WC_Order $order the order.
includes/class-yith-wc-points-rewards-customer.php
hook on banning a user
Params
YITH_WC_Points_Rewards_Customer $user the user.
hook on customer updated points
Paramsint $customer_id customer id.
int $points_amount the points updated.
string $action type of the action.
array $arguments list of arguments.
Points earned
hook on updated level
Paramsint $new_customer_level the new level.
int $customer_level actual level.
YITH_WC_Points_Rewards_Customer $this customer object.