Points and Rewards for WooCommerce 2.10.5 has 53 actions and 73 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Points and Rewards for WooCommerce fires an action
add_action( 'woocommerce_email_footer', function( $email ) {
// Your code runs here.
}, 10, 1 );
// Change a value Points and Rewards for WooCommerce is about to use
add_filter( 'wps_wpr_show_conversion_price', function( $wps_fee_on_cart ) {
// Change $wps_fee_on_cart here.
return $wps_fee_on_cart;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * This hooks use for emaail header */ do_action( 'woocommerce_email_header', $email_heading, $email ); -
apply_filters( 'wps_wpr_show_conversion_price', $wps_fee_on_cart ); -
apply_filters( 'wps_wpr_allowed_user_roles_points_features', false ); -
apply_filters( 'wps_wpr_check_custom_points_notification_enable', true, 'admin_notification' ); -
do_action( 'wps_wpr_add_notice' ); -
do_action( 'wps_wpr_update_points_log', $user_id ); -
apply_filters( 'wps_birthday_multiplier_points', $wps_wpr_payment_method_rewards_points, $user_id ); -
apply_filters( 'wps_wpr_convert_base_price_diffrent_currency', $order_total ); -
apply_filters( 'wps_wpr_enable_points_on_order_total', false ); -
do_action( 'wps_extend_point_tab_section', $user_id ); -
do_action( 'wps_wpr_add_coupon_generation', $user_id ); -
do_action( 'wps_wpr_membership_expiry_date_for_user', $user_id, $values, $wps_role ); -
apply_filters( 'wps_wpr_referral_link_url', $wps_wpr_page_url ); -
do_action( 'wps_wpr_top_account_page_section_hook', $user_id ); -
apply_filters( 'wps_cart_content_check_for_sale_item', $cart ); -
apply_filters( 'wps_helper_valid_frontend_screens', array() ); -
do_action( 'wps_wpr_before_add_referral_section', $user_id ); -
apply_filters( 'wps_wpr_convert_same_currency_base_price', $order_total, $order_id ); -
do_action( 'wps_wpr_membership_expiry_for_user_html' ); -
apply_filters( 'wps_wpr_modify_get_user_order_query', $args, $user_id ); -
do_action( 'wps_wpr_point_limit_on_order_checkout', $get_points, $user_id, $get_min_redeem_req ); -
do_action( 'wps_wpr_points_on_order_total', $get_points, $user_id, $get_min_redeem_req ); -
apply_filters( 'wps_wpr_preview_email_content', $email_content ); -
apply_filters( 'wps_wpr_show_rewards_next_points_message', $wps_wpr_rewards_points_awarded_check ); -
apply_filters( 'woocommerce_checkout_coupon_message', __( 'Have a coupon?', 'points-and-rewards-for-woocommerce' ) . ' <a href="#" class="showcoupon">' . __( 'Click here to enter your code', 'points-and-rewards-for-woocommerce' ) . '</a>' ); -
apply_filters( 'wps_add_coupon_details', $actions, $item['id'] ); -
do_action( 'wps_after_referral_link', $user_id ); -
do_action( 'wps_change_amount_cart', $wps_fee_on_cart, $cart, $cart_discount ); -
apply_filters( 'wps_coupon_tab_text', __( 'Per Currency Points Settings', 'points-and-rewards-for-woocommerce' ) ); -
apply_filters( 'wps_deactivation_form_fields', array() ); -
apply_filters( 'wps_deactivation_supported_slug', array() ); -
apply_filters( 'wps_mail_box', $wps_fb_and_twit_share, $user_id ); -
apply_filters( 'wps_on_boarding_form_fields', array() ); -
do_action( 'wps_par_extra_template_data' ); -
do_action( 'wps_par_extra_template_tab' ); -
do_action( 'wps_points_admin_table_log', $point_log ); -
do_action( 'wps_points_on_first_order', $point_log ); -
apply_filters( 'wps_round_down_cart_total_value', $points_calculation, $order_total, $wps_wpr_coupon_conversion_points, $wps_wpr_coupon_conversion_price ); -
apply_filters( 'wps_rwpr_add_setting_tab', $wps_wpr_setting_tab ); -
apply_filters( 'wps_rwpr_setting_tab_descriptions', array( 'overview-setting' => __( 'Get a quick summary of plugin capabilities, key highlights, and compatibility details.', 'points-and-rewards-for-woocommerce' ), 'free-vs-pro' => __( 'Compare feature sets between free and pro versions to discover advanced capabilities.', 'points-and-rewards-for-woocommerce' ), 'general-setting' => __( 'Configure core earning, redemption, and points behavior ac... ); -
apply_filters( 'wps_rwpr_visible_tabs_limit', 8 ); -
apply_filters( 'wps_wpm_product_item_meta', $item_meta, $key, $val ); -
apply_filters( 'wps_wpr_abandoned_cart_award_statuses', array( 'completed' ) ); -
apply_filters( 'wps_wpr_abandoned_cart_bonus_cooldown_days', 30 ); -
do_action( 'wps_wpr_abandoned_cart_incentive_sent', $user_id, $bonus_points, $expires ); -
apply_filters( 'wps_wpr_abandoned_cart_order_qualifies', $qualifies, $order, $incentive ); -
do_action( 'wps_wpr_abandoned_cart_points_awarded', $user_id, $bonus_points, $order_id ); -
do_action( 'wps_wpr_abandoned_cart_points_reversed', $user_id, $deducted, $order_id ); -
do_action( 'wps_wpr_add_additional_import_points' ); -
do_action( 'wps_wpr_add_campaign_additional_html', $wps_wpr_campaign_settings ); -
do_action( 'wps_wpr_add_campaign_general_section', $wps_wpr_campaign_settings ); -
apply_filters( 'wps_wpr_add_campaign_types', $wps_wpr_campaign_types ); -
do_action( 'wps_wpr_add_custom_type_settings', $value, $wps_wpr_general_settings, $_postdata ); -
apply_filters( 'wps_wpr_add_extra_payment_method', $wps_wpr_payment_ids ); -
do_action( 'wps_wpr_add_membership', $count ); -
do_action( 'wps_wpr_add_membership_rule', $wps_wpr_membership_roles ); -
apply_filters( 'wps_wpr_add_membership_settings', $wps_wpr_settings ); -
do_action( 'wps_wpr_additional_assign_product_points', $value, $wps_wpr_assing_product_points ); -
do_action( 'wps_wpr_additional_coupon_settings', $value, $coupon_settings ); -
do_action( 'wps_wpr_additional_general_settings', $value, $general_settings ); -
do_action( 'wps_wpr_additional_membership_settings', $value, $membership_settings_array ); -
do_action( 'wps_wpr_additional_order_total', $value, $wps_get_order_total_settings ); -
do_action( 'wps_wpr_additional_other_settings', $value, $other_settings ); -
do_action( 'wps_wpr_additional_points_notification_settings', $value, $wps_wpr_notification_settings ); -
apply_filters( 'wps_wpr_additional_user_campaign', $campaign_templates ); -
do_action( 'wps_wpr_after_campaign_fields', $url, $points, $selected_label, $types ); -
do_action( 'wps_wpr_ai_assistant_settings_applied', $changes ); -
apply_filters( 'wps_wpr_ai_assistant_settings_catalog', $catalog ); -
apply_filters( 'wps_wpr_allowed_html', $allowed_tags ); -
apply_filters( 'wps_wpr_allowed_user_roles_points', $items ); -
apply_filters( 'wps_wpr_allowed_user_roles_points_features_order', false, $user ); -
apply_filters( 'wps_wpr_allowed_user_roles_points_features_signup', false, $customer_id ); -
apply_filters( 'wps_wpr_assign_product_points_settings', $wps_wpr_assign_product_table_settings ); -
apply_filters( 'wps_wpr_assigned_points', $wps_wpr_assigned_points ); -
apply_filters( 'wps_wpr_award_product_points_without_cart_meta', true, $order ); -
apply_filters( 'wps_wpr_check_referral_cookie', true, $cookie_val, $customer_id ); -
apply_filters( 'wps_wpr_coupon_settings', $wps_wpr_coupon_settings ); -
do_action( 'wps_wpr_coupon_settings_save_option', $coupon_settings_array ); -
apply_filters( 'wps_wpr_currency_filter', array( array( 'type' => 'text', 'id' => 'wps_wpr_coupon_conversion_points', 'class' => 'input-text wc_input_price wps_wpr_new_woo_ver_style_text', 'custom_attributes' => array( 'min' => '"1"' ), 'desc' => __( ' = ', 'points-and-rewards-for-woocommerce' ), 'curr' => get_woocommerce_currency_symbol(), 'default' => '1', ), array( 'type' => 'number', 'id' => 'wps_wpr_coupon_conversion_price', 'clas... ); -
apply_filters( 'wps_wpr_email_notification_settings', $wps_settings ); -
do_action( 'wps_wpr_extend_previous_order_rewards_settings' ); -
apply_filters( 'wps_wpr_fee_tax_calculation_points', $fee_taxes, $fee, $object ); -
apply_filters( 'wps_wpr_general_settings', $wps_wpr_general_settings ); -
apply_filters( 'wps_wpr_general_settings_save_option', $general_settings_array ); -
do_action( 'wps_wpr_general_settings_save_option', $general_settings_array ); -
do_action( 'wps_wpr_insta_refer', $user_reference_key, $enable_wps_social, $page_permalink ); -
apply_filters( 'wps_wpr_is_variable_product', false, $product ); -
apply_filters( 'wps_wpr_modify_order_rewards_messages', $wps_wpr_number_order_rewards_messages, $order_count ); -
apply_filters( 'wps_wpr_modify_points_error_msg', esc_html__( 'Invalid Points!', 'points-and-rewards-for-woocommerce' ) ); -
apply_filters( 'wps_wpr_modify_points_success_msg', esc_html__( 'Custom Point has been applied Successfully!', 'points-and-rewards-for-woocommerce' ) ); -
apply_filters( 'wps_wpr_modify_previous_order_query', $query_args, $_POST ); -
apply_filters( 'wps_wpr_notification_posted_data', $wps_wpr_post_data, $wps_settings ); -
apply_filters( 'wps_wpr_notification_settings_saved', $wps_wpr_notificatin_array ); -
apply_filters( 'wps_wpr_order_item_fallback_points', $product_points * $quantity, $item, $order ); -
apply_filters( 'wps_wpr_order_rewards_message_default', __( 'Place [ORDER] orders and earn [POINTS] points', 'points-and-rewards-for-woocommerce' ) ); -
apply_filters( 'wps_wpr_order_rewards_message_desc', __( 'Use these shortcodes to provide an appropriate message for your customers on his no. of [ORDER] and get rewards points [POINTS]', 'points-and-rewards-for-woocommerce' ) ); -
do_action( 'wps_wpr_order_rewards_next_renewal_time', $order_id, $user_id ); -
do_action( 'wps_wpr_order_total_points', $thankyouorder_min, $thankyouorder_max, $thankyouorder_value ); -
apply_filters( 'wps_wpr_order_total_points_settings', $wps_wpr_order_total_points_settings ); -
apply_filters( 'wps_wpr_others_settings', $wps_wpr_other_settings ); -
apply_filters( 'wps_wpr_per_currency_points_on_subtotal', $order_total, $order ); -
apply_filters( 'wps_wpr_points_award_order_status', 'completed' ); -
apply_filters( 'wps_wpr_points_log_bulk_option', $actions ); -
apply_filters( 'wps_wpr_pro_plugin_name', sprintf( '%s <span>%s</span>', esc_html__( 'Points and Rewards for WooCommerce', 'points-and-rewards-for-woocommerce' ), esc_html( $wps_wpr_plugin_version ) ) ); -
do_action( 'wps_wpr_process_bulk_reset_option', $this->current_action(), $_POST ); -
do_action( 'wps_wpr_product_assign_points' ); -
do_action( 'wps_wpr_referral_features_extend', $customer_id, $refere_id ); -
apply_filters( 'wps_wpr_referral_points', $wps_wpr_referral_program, $customer_id, $refere_id ); -
apply_filters( 'wps_wpr_referral_signup_daily_limit', 5, $referrer_id ); -
apply_filters( 'wps_wpr_remove_text_area_in_pro', $wps_show_text_area, $value, $general_settings ); -
apply_filters( 'wps_wpr_restrict_redeem_points_by_category_wise', $wps_cart_points ); -
apply_filters( 'wps_wpr_save_campaign_extra_data', $processed_data ); -
apply_filters( 'wps_wpr_save_extra_other_settings', $other_settings ); -
do_action( 'wps_wpr_save_membership_settings', $wps_wpr_no_of_section ); -
do_action( 'wps_wpr_save_other_settings', $_POST ); -
do_action( 'wps_wpr_security_alert', $user_id, $log_entry ); -
apply_filters( 'wps_wpr_show_shortcoe_text', $shortcode_array ); -
do_action( 'wps_wpr_show_total_earning_points', $wps_wpr_notification_color ); -
do_action( 'wps_wpr_update_last_renewal_date', $user_id ); -
do_action( 'wps_wpr_update_user_points_manually', $user_id ); -
apply_filters( 'wps_wsfw_convert_to_base_price', $wps_claim_points ); -
apply_filters( 'wps_wsfw_get_current_currency', get_woocommerce_currency() );
Generated from Points and Rewards for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: