Wallet for WooCommerce icon
eCommerce & WooCommerce

Wallet for WooCommerce hooks reference

  • By Subrata Mal
  • v1.7.4
  • Updated

Wallet for WooCommerce 1.7.4 has 52 actions and 191 filters, read directly from its source code on Nov 17, 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.

functions.phpyour child theme
// Run your own code when Wallet for WooCommerce fires an action
add_action( 'woo_wallet_admin_page_header', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Wallet for WooCommerce is about to use
add_filter( 'woo_wallet_pro_liability_nudge_threshold', function( $value ) {
	// Change $value here.
	return $value;
}, 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

  • includes/admin/class-woo-wallet-reports.php line 256 · used in 5 places
    /**
     * Fires at the top of every TeraWallet admin page, inside `.wrap`.
     */
    do_action( 'woo_wallet_admin_page_header' );
  • includes/admin/class-woo-wallet-reports.php line 457 · used in 3 places
    /**
     * Minimum outstanding liability, in the store's base currency, before the Pro
     * nudge appears beneath the headline figure.
     */
    apply_filters( 'woo_wallet_pro_liability_nudge_threshold', 1000.0 );
  • includes/helper/woo-wallet-util.php line 357 · used in 2 places
    /**
     * Filters whether wallet partial payment is enabled for the current cart.
     */
    apply_filters( 'is_enable_wallet_partial_payment', $is_enable );
  • includes/class-woo-wallet-wallet.php line 835 · used in 2 places
    /**
     * Cashback expiry seam (R9).
     */
    apply_filters( 'woo_wallet_cashback_expiry_timestamp', null, $transaction_id, $order, 'general' );
  • includes/class-woo-wallet-frontend.php line 479 · used in 2 places
    /**
     * Process wallet transfer.
     */
    apply_filters( 'woo_wallet_is_enable_transfer', 'on' === woo_wallet()->settings_api->get_option( 'is_enable_wallet_transfer', '_wallet_settings_general', 'on' ) );
  • templates/emails/low-wallet-balance.php line 37 · used in 2 places
    /**
     * WooCommerce email header.
     */
    do_action( 'woocommerce_email_header', $email_heading, $email );
  • includes/class-woo-wallet-admin.php line 150
    /**
     * The TeraWallet API documentation URL.
     */
    apply_filters( 'terawallet_apidocs_url', 'https://docs.standalonetech.com/' );
  • includes/class-woo-wallet-admin.php line 157
    /**
     * The community TeraWallet support URL.
     */
    apply_filters( 'terawallet_community_support_url', 'https://standalonetech.com/support-forum/' );
  • includes/helper/woo-wallet-util.php line 118
    /**
     * The Premium plugins URL.
     */
    apply_filters( 'terawallet_premium_plugin_url', 'https://standalonetech.com/product/woocommerce-wallet-pro/' );
  • widget_title

    filter
    includes/class-woo-wallet-widgets.php line 40
    /**
     * This filter is documented in wp-includes/widgets/class-wp-widget-pages.php
     */
    apply_filters( 'widget_title', $title, $instance, $this->id_base );
  • includes/class-woo-wallet-wallet.php line 1370
    /**
     * Filter the cashback clawback strategy.
     */
    apply_filters( 'woo_wallet_cashback_clawback_strategy', 'partial', $order, $clawback_amount );
  • includes/class-woo-wallet-wallet.php line 1638
    /**
     * Filter the cashback clawback amount on refund.
     */
    apply_filters( 'woo_wallet_cashback_refund_clawback_amount', $clawback, $order, $refund );
  • includes/class-woo-wallet-helper.php line 397
    /**
     * Filters the client IP address used by the plugin's checks.
     */
    apply_filters( 'woo_wallet_client_ip', $client_ip, $remote );
  • includes/helper/woo-wallet-util.php line 2562
    /**
     * Filter the customer wallet dashboard stat cards.
     */
    apply_filters( 'woo_wallet_dashboard_stat_cards', $cards, $user_id );
  • includes/class-woo-wallet-wallet.php line 1322
    /**
     * Debit cashback amount *
     */
    apply_filters( 'woo_wallet_debit_cashback_upon_cancellation', get_total_order_cashback_amount( $order_id ) );
  • includes/api/v1/settings/class-terawallet-rest-settings-js-section-controller.php line 128
    /**
     * Fires after a JS-registered settings section is saved.
     */
    do_action( 'woo_wallet_js_section_saved', $section_id, $sanitized, $old_values );
  • includes/class-woo-wallet-go-pro-page.php line 63
    /**
     * Filter the Pro price label shown across the admin.
     */
    apply_filters( 'woo_wallet_pro_price_label', $label );
  • includes/services/class-woo-wallet-referral-service.php line 844
    /**
     * Filters whether a shared IP address blocks a referral reward. Return false
     * where many customers share one IP (offices, mobile networks).
     */
    apply_filters( 'woo_wallet_referral_check_ip', true, $referrer_id, (int) $referred_user_id );
  • includes/services/class-woo-wallet-referral-service.php line 475
    /**
     * Filters the maximum visit rewards one referrer can earn per day.
     */
    apply_filters( 'woo_wallet_referral_visit_daily_cap', $cap, $referrer_id );
  • includes/admin/class-woo-wallet-reports.php line 288
    /**
     * Fires in the reports topbar action area, right before Refresh.
     */
    do_action( 'woo_wallet_reports_actions', $context );
  • includes/api/v1/admin/class-terawallet-rest-admin-reports-controller.php line 77
    /**
     * Mirror the page's extensibility: let Pro add fields to the payload.
     */
    apply_filters( 'woo_wallet_reports_summary_data', $data, $args );
  • includes/class-woo-wallet-wallet.php line 582
    /**
     * Whether a refunded or cancelled top-up is taken back from the wallet.
     */
    apply_filters( 'woo_wallet_reverse_topup_on_refund', true, $order );
  • includes/emails/class-woo-wallet-email-low-wallet-balance.php line 97
    /**
     * Whether the low balance notification should be sent.
     */
    apply_filters( 'woo_wallet_should_send_low_balance_email', ( $current_balance <= $threshold && $previous_balance > $threshold ), $user_id, $current_balance, $threshold );
  • includes/services/class-woo-wallet-statement-service.php line 355
    /**
     * Balance movements before the period that are not ledger rows.
     */
    apply_filters( 'woo_wallet_statement_opening_adjustment', 0.0, $user_id, $start, $scope );
  • includes/class-woo-wallet-helper.php line 355
    /**
     * Proxy addresses (IPs or CIDR ranges) whose forwarded headers are trusted for
     * the client IP. Private and reserved addresses are always treated as proxies.
     * A public proxy or CDN in front of the site (e.g. Cloudflare, a public load
     * balancer) must be listed here, unless the server already restores the
     * visitor address in REMOTE_ADDR; otherwise every visitor is seen as the
     * proxy. The proxy must appen...
     */
    apply_filters( 'woo_wallet_trusted_proxies', array() );
  • includes/helper/woo-wallet-util.php line 1927
    /**
     * Fires after woo_wallet_purge_user_transactions() completes for a user.
     */
    do_action( 'woo_wallet_user_transactions_purged', $user_id, $delete_mode, $balance_handling, $pre_balance, $balancing_txn_id );
  • includes/actions/class-woo-wallet-action-sell-content.php line 489 · used in 16 places
    apply_filters( 'woo_wallet_db_lock_timeout', 5, $post->ID );
  • includes/api/v1/me/class-terawallet-rest-me-balance-controller.php line 119 · used in 7 places
    apply_filters( 'woo_wallet_enable_per_currency_mode', false );
  • includes/class-woo-wallet-admin.php line 885 · used in 5 places
    apply_filters( 'woo_wallet_disallow_negative_transaction', ( $balance <= 0 || $amount > $balance ), $amount, $balance );
  • includes/helper/woo-wallet-util.php line 2511 · used in 4 places
    apply_filters( 'woo_wallet_amount', $amount, $base, $user_id );
  • includes/class-woo-wallet-wallet.php line 1870 · used in 4 places
    do_action( 'woo_wallet_transaction_recorded', $debit_id, $from_user_id, $amount, 'debit' );
  • includes/class-woo-wallet-frontend.php line 163 · used in 3 places
    apply_filters( 'woo_wallet_account_menu_title', __( 'My Wallet', 'woo-wallet' ) );
  • includes/class-woo-wallet-frontend.php line 855 · used in 3 places
    apply_filters( 'woo_wallet_partial_payment_amount', $desired );
  • includes/admin/class-woo-wallet-reports.php line 64 · used in 3 places
    apply_filters( 'woo_wallet_reports_capability', 'manage_woocommerce' );
  • includes/admin/class-woo-wallet-reports.php line 83 · used in 3 places
    apply_filters( 'woo_wallet_reports_query_args', array() );
  • includes/class-woo-wallet-ajax.php line 415 · used in 3 places
    apply_filters( 'woo_wallet_user_search_exact_match', true );
  • includes/class-woo-wallet-admin.php line 768 · used in 2 places
    apply_filters( 'woo_wallet_adjust_balance_payment_type', array( 'credit' => __( 'Credit', 'woo-wallet' ), 'debit' => __( 'Debit', 'woo-wallet' ), ) );
  • includes/class-woo-wallet-admin.php line 894 · used in 2 places
    do_action( 'woo_wallet_admin_adjust_balance', $transaction_id );
  • includes/class-woo-wallet-admin.php line 787 · used in 2 places
    do_action( 'woo_wallet_after_payment_type_field' );
  • includes/actions/class-woo-wallet-action-product-review.php line 84 · used in 2 places
    do_action( 'woo_wallet_after_product_review', $transaction_id, $comment_id );
  • includes/class-woo-wallet-cashback.php line 147 · used in 2 places
    apply_filters( 'woo_wallet_calculate_cashback_on_total', true );
  • includes/class-woo-wallet-frontend.php line 782 · used in 2 places
    apply_filters( 'woo_wallet_cashback_notice_text', sprintf( __( 'Upon placing this order a cashback of %s will be credited to your wallet.', 'woo-wallet' ), wc_price( $cashback_amount, woo_wallet_wc_price_args() ) ), $cashback_amount );
  • includes/class-woo-wallet-admin.php line 256 · used in 2 places
    apply_filters( 'woo_wallet_credit_purchase_amount', $collected, $order_id );
  • includes/class-woo-wallet.php line 367 · used in 2 places
    apply_filters( 'woo_wallet_exclude_wallet_rechargeable_orders_from_report', true );
  • includes/actions/class-woo-wallet-action-referrals.php line 228 · used in 2 places
    apply_filters( 'woo_wallet_is_enable_referrals', true );
  • includes/class-woo-wallet-ajax.php line 377 · used in 2 places
    do_action( 'woo_wallet_order_refunded', $order, $refund, $transaction_id );
  • includes/class-woo-wallet-payment-method.php line 96 · used in 2 places
    apply_filters( 'woo_wallet_payment_is_available', ( parent::is_available() && is_full_payment_through_wallet() && is_user_logged_in() && ! is_enable_wallet_partial_payment() && ! is_wallet_account_locked() ) );
  • includes/helper/woo-wallet-util.php line 1627 · used in 2 places
    apply_filters( 'woo_wallet_persistent_cart_enabled', true );
  • includes/actions/class-woo-wallet-action-product-review.php line 68 · used in 2 places
    apply_filters( 'woo_wallet_product_review_action_amount', $this->settings['amount'], $comment_id, $commentdata['user_id'] );
  • includes/actions/class-woo-wallet-action-product-review.php line 70 · used in 2 places
    apply_filters( 'woo_wallet_product_review_credit', true, $commentdata );
  • includes/class-woo-wallet-frontend.php line 467 · used in 2 places
    apply_filters( 'woo_wallet_rechargeable_amount', round( sanitize_text_field( wp_unslash( $_POST['woo_wallet_balance_to_add'] ) ), 2 ) );
  • includes/admin/class-woo-wallet-reports.php line 234 · used in 2 places
    apply_filters( 'woo_wallet_reports_tabs', array(), 'summary' );
  • includes/api/v1/settings/class-terawallet-rest-settings-section-controller.php line 94 · used in 2 places
    apply_filters( 'woo_wallet_settings_fields', $all_fields );
  • includes/class-woo-wallet-wallet.php line 2018 · used in 2 places
    apply_filters( 'woo_wallet_transactions_args', array( 'blog_id' => $parsed_args['blog_id'], 'user_id' => $parsed_args['user_id'], 'type' => $parsed_args['type'], 'category' => $parsed_args['category'], 'amount' => $parsed_args['amount'], 'original_amount' => $parsed_args['original_amount'], 'original_currency' => $parsed_args['original_currency'], 'original_rate' => $parsed_args['original_rate'], 'mode' => $parsed_args['mode'], 'currency' =... );
  • includes/class-woo-wallet-admin.php line 739 · used in 2 places
    apply_filters( 'woo_wallet_user_currency', '', $user_id );
  • includes/class-woo-wallet-admin.php line 206
    do_action( 'after_terawallet_management_fields', $user );
  • includes/class-woo-wallet-admin.php line 1027
    do_action( 'after_wallet_cashback_product_data' );
  • includes/class-woo-wallet-admin.php line 825
    do_action( 'before_woo_wallet_transaction_details_page', $user_id );
  • includes/class-woo-wallet-frontend.php line 778
    apply_filters( 'display_cashback_notice_at_woocommerce_page', ! is_wallet_account_locked() );
  • includes/class-woo-wallet-wallet.php line 2241
    apply_filters( 'is_enable_email_notification_for_transaction', true, $transaction_id );
  • includes/helper/woo-wallet-util.php line 1535
    apply_filters( 'is_valid_payment_through_wallet', $is_valid_payment_through_wallet );
  • includes/admin/class-woo-wallet-transaction-details.php line 40
    apply_filters( 'manage_woo_wallet_transactions_columns', array( 'name' => __( 'Name', 'woo-wallet' ), 'type' => __( 'Type', 'woo-wallet' ), 'amount' => __( 'Amount', 'woo-wallet' ), 'details' => __( 'Details', 'woo-wallet' ), 'created_by' => __( 'Created By', 'woo-wallet' ), 'date' => __( 'Date', 'woo-wallet' ), 'transaction_id' => __( 'ID', 'woo-wallet' ), ) );
  • plugin_locale

    filter
    includes/class-woo-wallet.php line 329
    apply_filters( 'plugin_locale', $locale, 'woo-wallet' );
  • includes/class-woo-wallet-wallet.php line 861
    apply_filters( 'process_woo_wallet_coupon_cashback', ! $has_coupon && $order->get_customer_id(), $order );
  • includes/class-woo-wallet-wallet.php line 808
    apply_filters( 'process_woo_wallet_general_cashback', ! $has_general && $order->get_customer_id(), $order );
  • includes/export/class-terawallet-csv-exporter.php line 84
    apply_filters( "terawallet_{$this->export_type}_export_delimiter", $this->delimiter );
  • includes/export/class-terawallet-csv-exporter.php line 110
    apply_filters( "terawallet_{$this->export_type}_exporter_default_column_names", $default_column_names );
  • includes/class-woo-wallet-admin.php line 636
    apply_filters( 'terawallet_admin_js_params', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'export_url' => add_query_arg( array( 'page' => 'terawallet-exporter' ), admin_url( 'admin.php' ) ), 'export_title' => __( 'Export', 'woo-wallet' ), 'lock_unlock_nonce' => wp_create_nonce( 'lock-unlock-nonce' ), ) );
  • includes/api/v1/me/class-terawallet-rest-me-transfer-controller.php line 148
    apply_filters( 'terawallet_rest_allow_recipient_lookup', false );
  • includes/api/v1/me/class-terawallet-rest-me-balance-controller.php line 104
    apply_filters( 'terawallet_rest_me_balance', $data, $user_id, $request );
  • includes/api/v1/me/class-terawallet-rest-me-controller.php line 107
    apply_filters( 'terawallet_rest_me_capabilities', $caps, $user_id );
  • includes/api/v1/me/class-terawallet-rest-me-cashback-rules-controller.php line 81
    apply_filters( 'terawallet_rest_me_cashback_rules', $data, $user_id, $request );
  • includes/api/abstracts/class-terawallet-rest-me-controller-base.php line 68
    apply_filters( 'terawallet_rest_me_permissions', true, $request );
  • includes/api/v1/me/class-terawallet-rest-me-transactions-controller.php line 306
    apply_filters( 'terawallet_rest_me_prepare_transaction', $response, $transaction, $request );
  • includes/api/v1/me/class-terawallet-rest-me-controller.php line 78
    apply_filters( 'terawallet_rest_me_profile', $data, $user, $request );
  • includes/api/v1/me/class-terawallet-rest-me-referrals-controller.php line 118
    apply_filters( 'terawallet_rest_me_referrals', $data, $user, $request );
  • includes/api/v1/me/class-terawallet-rest-me-transactions-controller.php line 169
    apply_filters( 'terawallet_rest_me_transactions_query_args', $args, $request );
  • includes/api/v1/system/class-terawallet-rest-multicurrency-controller.php line 133
    apply_filters( 'terawallet_rest_multicurrency_state', $data );
  • includes/api/v1/public/class-terawallet-rest-public-settings-controller.php line 91
    apply_filters( 'terawallet_rest_public_settings', $data, $request );
  • includes/api/v1/public/class-terawallet-rest-public-settings-controller.php line 88
    apply_filters( 'terawallet_rest_terms_url', '' );
  • includes/export/class-terawallet-csv-exporter.php line 452
    apply_filters( 'terawallet_row_to_export', ob_get_clean(), $record );
  • includes/services/class-woo-wallet-topup-service.php line 170
    do_action( 'terawallet_topup_order_created', $order, $user_id, $rechargeable_amount );
  • includes/export/class-terawallet-csv-exporter.php line 425
    apply_filters( 'terawallet_transaction_export_row', $record );
  • includes/class-woo-wallet-helper.php line 256
    apply_filters( 'wallet_cashback_order_status', $statuses );
  • includes/class-woo-wallet.php line 187
    apply_filters( 'wallet_credit_purchase_order_status', array( 'processing', 'completed' ) );
  • includes/class-woo-wallet.php line 201
    apply_filters( 'wallet_debit_partial_payment_status', array( 'processing', 'completed' ) );
  • includes/multicurrency/providers/class-woo-wallet-currency-provider-aelia.php line 103
    apply_filters( 'wc_aelia_cs_convert', (float) $amount, $from, $to );
  • includes/multicurrency/providers/class-woo-wallet-currency-provider-aelia.php line 70
    apply_filters( 'wc_aelia_cs_enabled_currencies', array( $base ) );
  • includes/multicurrency/providers/class-woo-wallet-currency-provider-aelia.php line 56
    apply_filters( 'wc_aelia_cs_selected_currency', $this->get_base_currency() );
  • templates/wc-endpoint-wallet.php line 131
    do_action( "woo_wallet_{$current_action}_content" );
  • includes/actions/class-woo-wallet-action-referrals.php line 215
    apply_filters( 'woo_wallet_account_referrals_menu_title', __( 'Referrals', 'woo-wallet' ) );
  • includes/class-woo-wallet-frontend.php line 302
    apply_filters( 'woo_wallet_account_statement_menu_title', __( 'Statement', 'woo-wallet' ) );
  • templates/wc-endpoint-wallet.php line 29
    apply_filters( 'woo_wallet_account_topup_menu_title', __( 'Wallet topup', 'woo-wallet' ) );
  • templates/wc-endpoint-wallet.php line 34
    apply_filters( 'woo_wallet_account_transfer_amount_menu_title', __( 'Wallet transfer', 'woo-wallet' ) );
  • includes/abstracts/abstract-woo-wallet-actions.php line 73
    apply_filters( 'woo_wallet_action_description', $this->description, $this );
  • includes/actions/class-woo-wallet-action-new-registration.php line 99
    do_action( 'woo_wallet_action_new_registration_credited', $transaction_id, $user_id, $this );
  • includes/actions/class-woo-wallet-action-new-registration.php line 37
    apply_filters( 'woo_wallet_action_new_registration_form_fields', array( 'enabled' => array( 'title' => __( 'Enable/Disable', 'woo-wallet' ), 'type' => 'checkbox', 'label' => __( 'Enable auto credit upon user registration', 'woo-wallet' ), 'default' => 'no', ), 'amount' => array( 'title' => __( 'Amount', 'woo-wallet' ), 'type' => 'price', 'description' => __( 'Enter amount which will be credited to the user wallet after registration.', 'woo-wallet' ), 'defaul... );
  • includes/actions/class-woo-wallet-action-referrals.php line 36
    apply_filters( 'woo_wallet_action_referrals_form_fields', array( 'enabled' => array( 'title' => __( 'Enable referral rewards', 'woo-wallet' ), 'type' => 'checkbox', 'label' => __( 'Enable referral rewards', 'woo-wallet' ), 'default' => 'no', ), array( 'title' => __( 'Referral link format', 'woo-wallet' ), 'type' => 'title', 'desc' => __( "Choose what a customer's referral link contains.", 'woo-wallet' ), 'id' => 'referring_links', ), 'referal_link' =>... );
  • includes/class-woo-wallet-actions.php line 64
    apply_filters( 'woo_wallet_actions', array( 'Action_New_Registration', 'Action_Product_Review', 'Action_Daily_Visits', 'Action_Referrals', 'Woo_Wallet_Action_Sell_Content', ) );
  • includes/multicurrency/class-woo-wallet-currency-manager.php line 144
    apply_filters( 'woo_wallet_active_currency_provider', null );
  • includes/class-woo-wallet-admin.php line 882
    apply_filters( 'woo_wallet_addjust_balance_amount', number_format( $amount, wc_get_price_decimals(), '.', '' ), $user_id );
  • templates/wc-endpoint-wallet.php line 141
    do_action( 'woo_wallet_after_my_wallet_content' );
  • includes/services/class-woo-wallet-referral-service.php line 323
    do_action( 'woo_wallet_after_referral_signup', $transaction_id, $referred_user_id, $action, $order_id );
  • includes/services/class-woo-wallet-referral-service.php line 152
    do_action( 'woo_wallet_after_referral_visit', $transaction_id, $action );
  • templates/wc-endpoint-wallet.php line 49
    apply_filters( 'woo_wallet_allowed_dashboard_actions', array_values( array_unique( array_merge( array( 'dashboard', 'add', 'transfer' ), array_keys( (array) $menu_items ) ) ) ) );
  • includes/admin/class-woo-wallet-balance-details.php line 536
    apply_filters( 'woo_wallet_balance_details_bulk_actions', array( 'credit' => __( 'Credit', 'woo-wallet' ), 'debit' => __( 'Debit', 'woo-wallet' ), 'delete_log' => __( 'Delete Log', 'woo-wallet' ), ) );
  • includes/admin/class-woo-wallet-balance-details.php line 274
    apply_filters( 'woo_wallet_balance_details_column_default', esc_html( print_r( $item, true ) ), $column_name, $item );
  • includes/admin/class-woo-wallet-balance-details.php line 50
    apply_filters( 'woo_wallet_balance_details_columns', $columns );
  • includes/admin/class-woo-wallet-balance-details.php line 108
    apply_filters( 'woo_wallet_balance_details_list_table_item_data', array( 'id' => $user->ID, 'username' => $user->data->user_login, 'name' => $user->data->display_name, 'email' => $user->data->user_email, 'balance' => woo_wallet()->wallet->get_wallet_balance( $user->ID, 'view', $base_currency ), 'actions' => '', ), $user );
  • includes/admin/class-woo-wallet-balance-details.php line 529
    do_action( 'woo_wallet_balance_details_process_bulk_actions', $this->current_action() );
  • includes/admin/class-woo-wallet-balance-details.php line 256
    apply_filters( 'woo_wallet_balance_details_sortable_columns', $sortable_columns );
  • includes/class-woo-wallet-admin.php line 704
    do_action( 'woo_wallet_before_balance_details_table' );
  • templates/wc-endpoint-wallet.php line 23
    do_action( 'woo_wallet_before_my_wallet_content' );
  • includes/class-woo-wallet-settings.php line 509
    apply_filters( 'woo_wallet_cashback_rules', array( 'cart' => __( 'Cart wise', 'woo-wallet' ), 'product' => __( 'Product wise', 'woo-wallet' ), 'product_cat' => __( 'Product category wise', 'woo-wallet' ), ) );
  • includes/class-woo-wallet-wallet.php line 862
    apply_filters( 'woo_wallet_coupon_cashback_amount', $coupon_cashback_amount, $order );
  • includes/class-woo-wallet-wallet.php line 883
    do_action( 'woo_wallet_coupon_cashback_credited', $transaction_id, $order );
  • includes/class-woo-wallet-wallet.php line 521
    do_action( 'woo_wallet_credit_purchase_completed', $transaction_id, $order );
  • includes/helper/woo-wallet-util.php line 1862
    apply_filters( 'woo_wallet_credit_user_after_delete_log', true );
  • includes/class-woo-wallet-wallet.php line 149
    apply_filters( 'woo_wallet_current_balance', $this->wallet_balance, $this->user_id, $balance_currency );
  • includes/actions/class-woo-wallet-action-daily-visits.php line 217
    apply_filters( 'woo_wallet_daily_visit_is_eligible', $eligible, $user_id );
  • templates/wc-endpoint-wallet.php line 135
    do_action( 'woo_wallet_dashboard_content' );
  • includes/helper/woo-wallet-util.php line 1396
    apply_filters( 'woo_wallet_dashboard_url', wc_get_account_endpoint_url( $endpoint ) );
  • includes/class-woo-wallet.php line 255
    do_action( 'woo_wallet_deactivated' );
  • includes/class-woo-wallet.php line 470
    apply_filters( 'woo_wallet_delete_transaction_records', true, $id );
  • includes/class-woo-wallet-frontend.php line 923
    apply_filters( 'woo_wallet_disable_partial_payment', ( 'on' !== woo_wallet()->settings_api->get_option( 'is_enable_partial_payment', '_wallet_settings_general', 'on' ) || is_full_payment_through_wallet() || is_wallet_rechargeable_cart() || is_wallet_account_locked() ) );
  • includes/class-woo-wallet-admin.php line 1190
    apply_filters( 'woo_wallet_endpoint_settings_fields', array( array( 'title' => __( 'My Wallet', 'woo-wallet' ), 'desc' => __( 'Endpoint for the "My account → My Wallet" page.', 'woo-wallet' ), 'id' => 'woocommerce_woo_wallet_endpoint', 'type' => 'text', 'default' => 'my-wallet', 'desc_tip' => true, ), ) );
  • includes/class-woo-wallet-frontend.php line 141
    apply_filters( 'woo_wallet_exclude_nav_menu_location', array(), $menu, $args );
  • includes/class-woo-wallet-cashback.php line 167
    apply_filters( 'woo_wallet_form_cart_cashback_amount', $cashback_amount );
  • includes/class-woo-wallet-cashback.php line 234
    apply_filters( 'woo_wallet_form_order_cashback_amount', $cashback_amount, $order_id );
  • includes/abstracts/abstract-woo-wallet-actions.php line 58
    apply_filters( 'woo_wallet_gateway_action_title', $this->action_title, $this );
  • includes/class-woo-wallet-wallet.php line 840
    do_action( 'woo_wallet_general_cashback_credited', $transaction_id, $order );
  • includes/class-woo-wallet-settings-api.php line 190
    apply_filters( "woo_wallet_get_option_{$section}_{$option}", $option_value );
  • includes/class-woo-wallet-frontend.php line 141
    apply_filters( 'woo_wallet_hide_nav_menu', false, $menu, $args );
  • includes/class-woo-wallet-admin.php line 575
    apply_filters( 'woo_wallet_hide_rechargeable_product', true );
  • includes/class-woo-wallet.php line 168
    do_action( 'woo_wallet_init' );
  • templates/wc-endpoint-wallet.php line 130
    apply_filters( "woo_wallet_is_enable_{$current_action}", true );
  • templates/wc-endpoint-wallet.php line 100
    apply_filters( "woo_wallet_is_enable_{$item}", true );
  • includes/class-woo-wallet-admin.php line 596
    apply_filters( 'woo_wallet_is_order_refundable', ( ! is_wallet_rechargeable_order( $order ) && 'wallet' !== $order->get_payment_method( 'edit' ) ) && $order->get_customer_id( 'edit' ) && current_user_can( 'manage_woocommerce' ), $order );
  • includes/helper/woo-wallet-util.php line 1951
    apply_filters( 'woo_wallet_is_user_wallet_locked', get_user_meta( $user_id, '_is_wallet_locked', true ), $user_id );
  • includes/class-woo-wallet-frontend.php line 530
    apply_filters( 'woo_wallet_is_valid_wallet_recharge_amount', $response, $amount );
  • includes/helper/woo-wallet-util.php line 165
    apply_filters( 'woo_wallet_is_wallet_rechargeable_cart', $is_wallet_rechargeable_cart );
  • includes/helper/woo-wallet-util.php line 144
    apply_filters( 'woo_wallet_is_wallet_rechargeable_order', $is_wallet_rechargeable_order, $order );
  • includes/helper/woo-wallet-util.php line 2051
    apply_filters( 'woo_wallet_legacy_currency_normalize_batch_size', 500 );
  • includes/helper/woo-wallet-util.php line 2233
    apply_filters( 'woo_wallet_legacy_currency_normalize_max_batches', 20 );
  • includes/class-woo-wallet-actions.php line 90
    do_action( 'woo_wallet_load_actions' );
  • includes/class-woo-wallet.php line 76
    do_action( 'woo_wallet_loaded' );
  • includes/class-woo-wallet.php line 617
    apply_filters( 'woo_wallet_locate_template', $template, $template_name, $template_path, $default_path );
  • templates/wc-endpoint-wallet.php line 133
    do_action( 'woo_wallet_menu_content' );
  • templates/wc-endpoint-wallet.php line 121
    do_action( 'woo_wallet_menu_items' );
  • templates/wc-endpoint-wallet.php line 25
    apply_filters( 'woo_wallet_nav_menu_items', array( 'add' => array( 'title' => apply_filters( 'woo_wallet_account_topup_menu_title', __( 'Wallet topup', 'woo-wallet' ) ), 'url' => $is_rendred_from_myaccount ? esc_url( wc_get_endpoint_url( get_option( 'woocommerce_woo_wallet_endpoint', 'my-wallet' ), 'add', wc_get_page_permalink( 'myaccount' ) ) ) : add_query_arg( 'wallet_action', 'add' ), 'icon' => 'dashicons dashicons-plus-alt', ), 'tran... );
  • includes/actions/class-woo-wallet-action-new-registration.php line 69
    apply_filters( 'woo_wallet_new_user_registration_credit', true, $user_id );
  • includes/actions/class-woo-wallet-action-new-registration.php line 76
    apply_filters( 'woo_wallet_new_user_registration_credit_amount', $this->settings['amount'], $user_id );
  • includes/helper/woo-wallet-util.php line 401
    apply_filters( 'woo_wallet_order_partial_payment_amount', abs( $via_wallet ), $order_id );
  • includes/class-woo-wallet-payment-method.php line 169
    apply_filters( 'woo_wallet_order_payment_description', __( 'For order payment #', 'woo-wallet' ) . $order->get_order_number(), $order );
  • includes/class-woo-wallet-ajax.php line 291
    do_action( 'woo_wallet_partial_order_refunded', $order_id, $transaction_id );
  • includes/class-woo-wallet-wallet.php line 1024
    do_action( 'woo_wallet_partial_payment_completed', $transaction_id, $locked_order );
  • includes/class-woo-wallet-wallet.php line 1040
    do_action( 'woo_wallet_partial_payment_debit_failed', $locked_order, $partial_payment_amount );
  • includes/helper/woo-wallet-util.php line 253
    apply_filters( 'woo_wallet_partial_payment_effective_tax_rate', $pct / 100 );
  • includes/class-woo-wallet-frontend.php line 880
    apply_filters( 'woo_wallet_partial_payment_fee_tax_class', '' );
  • includes/helper/woo-wallet-util.php line 291
    apply_filters( 'woo_wallet_partial_payment_max_amount', max( 0.0, $cap ), $mode );
  • includes/class-woo-wallet-wallet.php line 1188
    apply_filters( 'woo_wallet_partial_payment_refund_amount', $refund_now, $locked_order, $refund );
  • includes/class-woo-wallet-wallet.php line 1221
    do_action( 'woo_wallet_partial_payment_refunded', $order_id, $transaction_id, $refund_now );
  • includes/helper/woo-wallet-util.php line 228
    apply_filters( 'woo_wallet_partial_payment_tax_mode', $mode );
  • includes/class-woo-wallet-payment-method.php line 177
    do_action( 'woo_wallet_payment_processed', $order_id, $wallet_response );
  • includes/class-woo-wallet-settings.php line 481
    apply_filters( 'woo_wallet_process_cashback_status', $order_status_options );
  • includes/class-woo-wallet-frontend.php line 978
    apply_filters( 'woo_wallet_product_cashback_amount', $cashback_amount, get_the_ID() );
  • includes/class-woo-wallet-frontend.php line 984
    apply_filters( 'woo_wallet_product_cashback_html', $cashback_html, get_the_ID() );
  • includes/class-woo-wallet-cashback.php line 360
    apply_filters( 'woo_wallet_product_category_wise_cashback_amount', $cashback_amount, $product, $qty, $product_price );
  • includes/class-woo-wallet-cashback.php line 295
    apply_filters( 'woo_wallet_product_wise_cashback_amount', $cashback_amount, $product, $qty, $product_price );
  • includes/helper/woo-wallet-util.php line 465
    apply_filters( 'woo_wallet_rechargeable_product_id', get_option( '_woo_wallet_recharge_product' ) );
  • includes/class-woo-wallet-frontend.php line 468
    apply_filters( 'woo_wallet_redirect_to_checkout_after_added_amount', true );
  • includes/actions/class-woo-wallet-action-referrals.php line 196
    apply_filters( 'woo_wallet_referral_handel', 'wwref' );
  • templates/referrals.php line 25
    apply_filters( 'woo_wallet_referral_list_per_page', 10 );
  • includes/actions/class-woo-wallet-action-referrals.php line 320
    apply_filters( 'woo_wallet_referral_user', $user, $this );
  • includes/helper/woo-wallet-util.php line 1143
    apply_filters( 'woo_wallet_referrals_query_args', $args );
  • includes/services/class-woo-wallet-referral-service.php line 291
    apply_filters( 'woo_wallet_referring_signup_amount', $action->settings['referring_signups_amount'], $referrer->ID, $referred_user_id, $order_id );
  • includes/services/class-woo-wallet-referral-service.php line 58
    apply_filters( 'woo_wallet_referring_visitor_amount', $action->settings['referring_visitors_amount'], $referrer_id );
  • includes/class-woo-wallet.php line 445
    do_action( 'woo_wallet_register_currency_providers', $manager );
  • includes/admin/class-woo-wallet-reports.php line 402
    do_action( 'woo_wallet_reports_after_summary', $context );
  • includes/admin/class-woo-wallet-reports.php line 365
    do_action( 'woo_wallet_reports_before_summary', $context );
  • includes/services/class-woo-wallet-reports-data.php line 258
    apply_filters( 'woo_wallet_reports_cache_ttl', 15 * MINUTE_IN_SECONDS );
  • includes/services/class-woo-wallet-reports-data.php line 43
    apply_filters( 'woo_wallet_reports_category_labels', $labels );
  • includes/admin/class-woo-wallet-reports.php line 347
    apply_filters( 'woo_wallet_reports_metrics', array(), $args );
  • includes/admin/class-woo-wallet-reports.php line 331
    do_action( 'woo_wallet_reports_page_bottom' );
  • includes/admin/class-woo-wallet-reports.php line 293
    do_action( 'woo_wallet_reports_page_top' );
  • includes/admin/class-woo-wallet-reports.php line 324
    do_action( "woo_wallet_reports_render_tab_{$current}", $context );
  • includes/api/v1/admin/class-terawallet-rest-admin-transactions-controller.php line 249
    apply_filters( 'woo_wallet_rest_admin_transactions_query_args', $args, $request );
  • includes/api/legacy/wc-v3/class-terawallet-rest-legacy-wallet-controller.php line 327
    apply_filters( 'woo_wallet_rest_api_get_items_args', $args, $request );
  • includes/api/abstracts/class-terawallet-rest-controller-base.php line 33
    apply_filters( 'woo_wallet_rest_check_permissions', current_user_can( $cap ), $context, $request );
  • includes/api/v1/admin/class-terawallet-rest-admin-transactions-controller.php line 428
    apply_filters( 'woo_wallet_rest_prepare_admin_transaction', $response, $transaction, $request );
  • includes/api/legacy/wc-v3/class-terawallet-rest-legacy-wallet-controller.php line 451
    apply_filters( 'woo_wallet_rest_prepare_transaction', $response, $transaction, $request );
  • includes/class-woo-wallet-settings.php line 624
    apply_filters( 'woo_wallet_settings_filds', $settings_fields );
  • includes/class-woo-wallet-settings.php line 154
    apply_filters( 'woo_wallet_settings_sections', $sections );
  • includes/actions/class-woo-wallet-action-daily-visits.php line 287
    apply_filters( 'woo_wallet_show_daily_visit_notice', true, $user_id );
  • includes/class-woo-wallet-signup-handler.php line 171
    do_action( 'woo_wallet_signup_processed', $user_id );
  • includes/actions/class-woo-wallet-action-daily-visits.php line 251
    apply_filters( 'woo_wallet_site_visit_credit', true );
  • includes/services/class-woo-wallet-statement-service.php line 465
    apply_filters( 'woo_wallet_statement_adjustments', array(), $user_id, $range, $scope );
  • templates/statement.php line 67
    apply_filters( 'woo_wallet_statement_columns', array( 'date' => array( 'label' => __( 'Date', 'woo-wallet' ), 'class' => 'ww-stmt-date', ), 'type' => array( 'label' => __( 'Type', 'woo-wallet' ), 'class' => 'ww-stmt-type', ), 'details' => array( 'label' => __( 'Details', 'woo-wallet' ), 'class' => 'ww-stmt-details', ), 'credit' => array( 'label' => __( 'Credit', 'woo-wallet' ), 'class' => 'ww-stmt-num is-credit', ), 'debit' => array( 'label... );
  • includes/services/class-woo-wallet-statement-service.php line 680
    apply_filters( 'woo_wallet_statement_max_days', self::MAX_DAYS );
  • includes/services/class-woo-wallet-statement-service.php line 689
    apply_filters( 'woo_wallet_statement_max_rows', self::MAX_ROWS );
  • templates/statement.php line 258
    apply_filters( 'woo_wallet_statement_row_cells', $ww_cells, $ww_row, $ww_statement );
  • includes/services/class-woo-wallet-statement-service.php line 411
    apply_filters( 'woo_wallet_statement_row_columns', $core );
  • includes/class-woo-wallet.php line 607
    apply_filters( 'woo_wallet_template_path', $default_path );
  • includes/class-woo-wallet-wallet.php line 455
    apply_filters( 'woo_wallet_topup_credit_on_completed_gateways', array( 'cod' ), $order );
  • includes/class-woo-wallet-helper.php line 273
    apply_filters( 'woo_wallet_topup_offline_gateways', $gateways );
  • includes/helper/woo-wallet-util.php line 1413
    apply_filters( 'woo_wallet_topup_url', wc_get_endpoint_url( $endpoint, 'add', wc_get_page_permalink( 'myaccount' ) ) );
  • includes/helper/woo-wallet-util.php line 1618
    apply_filters( 'woo_wallet_total_order_cashback_amount', $total_cashback_amount );
  • includes/class-woo-wallet-wallet.php line 405
    do_action( 'woo_wallet_transaction_deleted', $transaction_id, $user_id, (bool) $hard );
  • includes/admin/class-woo-wallet-transaction-details.php line 157
    apply_filters( 'woo_wallet_transaction_details_column_default', print_r( $item, true ), $column_name, $item );
  • includes/class-woo-wallet-wallet.php line 363
    do_action( 'woo_wallet_transaction_details_updated', $transaction_id, (int) $row->user_id, (string) $details );
  • includes/helper/woo-wallet-transaction-types.php line 112
    apply_filters( 'woo_wallet_transaction_types', $types );
  • templates/dashboard.php line 28
    apply_filters( 'woo_wallet_transactions_count', 10 );
  • includes/helper/woo-wallet-util.php line 743
    apply_filters( 'woo_wallet_transactions_query', array( $select, $from, implode( ' ', $joins ), 'WHERE ' . implode( ' AND ', $where_clauses ), $order_by_sql, $limit_sql ) );
  • includes/helper/woo-wallet-util.php line 588
    apply_filters( 'woo_wallet_transactions_query_args', $args );
  • includes/helper/woo-wallet-util.php line 626
    apply_filters( 'woo_wallet_transactions_query_order_cols', array( 'transaction_id', 'user_id', 'amount', 'currency', 'date', 'type', 'category', 'deleted' ) );
  • includes/services/class-woo-wallet-transfer-service.php line 155
    do_action( 'woo_wallet_transfer_amount_credited', $result['credit'], $whom->ID, $from_user_id );
  • includes/services/class-woo-wallet-transfer-service.php line 153
    do_action( 'woo_wallet_transfer_amount_debited', $result['debit'], $from_user_id, $whom->ID );
  • includes/services/class-woo-wallet-transfer-service.php line 135
    apply_filters( 'woo_wallet_transfer_charge_amount', $transfer_charge, $whom );
  • includes/services/class-woo-wallet-transfer-service.php line 136
    apply_filters( 'woo_wallet_transfer_credit_amount', $amount, $whom );
  • includes/services/class-woo-wallet-transfer-service.php line 125
    apply_filters( 'woo_wallet_transfer_credit_transaction_note', $credit_note, $whom, $amount );
  • includes/services/class-woo-wallet-transfer-service.php line 137
    apply_filters( 'woo_wallet_transfer_debit_amount', $amount + $transfer_charge, $whom );
  • includes/services/class-woo-wallet-transfer-service.php line 126
    apply_filters( 'woo_wallet_transfer_debit_transaction_note', $debit_note, $whom, $amount );
  • includes/services/class-woo-wallet-transfer-service.php line 71
    apply_filters( 'woo_wallet_transfer_rate_limit_per_minute', 5, $from_user_id );
  • includes/services/class-woo-wallet-transfer-service.php line 58
    apply_filters( 'woo_wallet_transfer_user_id', $to_user_id );
  • includes/helper/woo-wallet-util.php line 1729
    apply_filters( 'woo_wallet_user_capability', 'manage_woocommerce' );
  • includes/class-woo-wallet-ajax.php line 416
    apply_filters( 'woo_wallet_user_search_by', 'email' );
  • includes/admin/class-woo-wallet-balance-details.php line 233
    do_action( 'woo_wallet_users_list_extra_tablenav', $which );
  • includes/admin/class-woo-wallet-balance-details.php line 101
    apply_filters( 'woo_wallet_users_list_table_query_args', $args );
  • includes/class-woo-wallet-frontend.php line 945
    apply_filters( 'woo_wallet_variation_cashback_amount', $cashback_amount, $variation );
  • includes/helper/woo-wallet-util.php line 1703
    apply_filters( 'woo_wallet_wc_price_args', wp_parse_args( $args, array( 'ex_tax_label' => false, 'currency' => $default_currency, 'decimal_separator' => wc_get_price_decimal_separator(), 'thousand_separator' => wc_get_price_thousand_separator(), 'decimals' => wc_get_price_decimals(), 'price_format' => get_woocommerce_price_format(), ) ), $user_id );
  • includes/class-woo-wallet-frontend.php line 1117
    do_action( 'woocommerce_cart_item_restored', $cart_item_key, wc()->cart );
  • includes/multicurrency/class-woo-wallet-abstract-currency-provider.php line 44
    apply_filters( 'woocommerce_currency', $this->get_base_currency() );
  • includes/class-woo-wallet-payment-method.php line 108
    apply_filters( 'woocommerce_gateway_icon', sprintf( __( ' | Current Balance: <strong>%s</strong>', 'woo-wallet' ), $current_balance ), $this->id );
  • includes/class-woo-wallet-frontend.php line 1115
    do_action( 'woocommerce_restore_cart_item', $cart_item_key, wc()->cart );
  • includes/class-woo-wallet-payment-method.php line 165
    apply_filters( 'woocommerce_valid_order_statuses_for_payment_complete', array( 'on-hold', 'pending', 'failed', 'cancelled' ), $order );
  • includes/helper/woo-wallet-util.php line 332
    apply_filters( 'woowallet_cart_total', $cart_total );
  • includes/multicurrency/class-woo-wallet-multicurrency-integration.php line 417
    apply_filters( 'wpml_current_language', null );
  • includes/multicurrency/class-woo-wallet-multicurrency-integration.php line 418
    apply_filters( 'wpml_object_id', $product_id, 'product', true, $language );
  • includes/multicurrency/providers/class-woo-wallet-currency-provider-yaycurrency.php line 182
    apply_filters( 'yay_currency_convert_price', (float) $amount, array() );
  • includes/multicurrency/providers/class-woo-wallet-currency-provider-yaycurrency.php line 186
    apply_filters( 'yay_currency_revert_price', (float) $amount, array() );

Generated from Wallet for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: