Cryptocurrency Product for WooCommerce 3.20.3 has 15 actions and 59 filters, read directly from its source code on Nov 19, 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 Cryptocurrency Product for WooCommerce fires an action
add_action( 'cryptocurrency_product_for_woocommerce_save_option_field', function( $cryptocurrency_option, $product_id, $product ) {
// Your code runs here.
}, 10, 3 );
// Change a value Cryptocurrency Product for WooCommerce is about to use
add_filter( 'active_plugins', function( $active_plugins ) {
// Change $active_plugins here.
return $active_plugins;
}, 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
-
/** * Check if WooCommerce is active * https://wordpress.stackexchange.com/a/193908/137915 */ apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_get_base_blockchain', '', $cryptocurrency_option ); -
apply_filters( 'ethereumico.io/blockchain-info', null, $chainId ); -
cryptocurrency_product_for_woocommerce_get_billing_address_meta_key
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_get_billing_address_meta_key', '', $cryptocurrency_option ); -
do_action( 'cryptocurrency_product_for_woocommerce_save_option_field', $cryptocurrency_option, $product_id, $product ); -
apply_filters( 'woocommerce_get_price_html', $price, $product ); -
cryptocurrency_product_for_woocommerce_get_cryptocurrency_address
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_get_cryptocurrency_address', '', $cryptocurrency_option, $order_id ); -
cryptocurrency_product_for_woocommerce_get_valid_blockchain_address
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_get_valid_blockchain_address', $billing_address, $cryptocurrency_option ); -
cryptocurrency_product_for_woocommerce_is_wallet_address_generator_exists
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_is_wallet_address_generator_exists', false, $cryptocurrency_option ); -
cryptocurrency_product_for_woocommerce_override_checkout_fields
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_override_checkout_fields', $fields, $cryptocurrency_option ); -
woocommerce_order_shipping_to_display_tax_label
filter Used by 5 plugins β Copy link Customise this hookapply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $order, $tax_display ); -
apply_filters( 'woocommerce_quantity_input_min', 0, $product ); -
cryptocurrency_product_for_woocommerce__get_hide_element_classes
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce__get_hide_element_classes', '' ); -
apply_filters( 'cryptocurrency_product_for_woocommerce__get_vendor_roles', ['vendor'] ); -
do_action( 'cryptocurrency_product_for_woocommerce_add_meta_boxes', null ); -
cryptocurrency_product_for_woocommerce_advanced_blockchain_print_options
action Copy link Customise this hookdo_action( 'cryptocurrency_product_for_woocommerce_advanced_blockchain_print_options', $options, $current_screen ); -
cryptocurrency_product_for_woocommerce_after_checkout_validation
action Copy link Customise this hookdo_action( 'cryptocurrency_product_for_woocommerce_after_checkout_validation', $cryptocurrency_option, $product_id, $data, $errors ); -
cryptocurrency_product_for_woocommerce_before_POST_processing_action
action Copy link Customise this hookdo_action( 'cryptocurrency_product_for_woocommerce_before_POST_processing_action' ); -
cryptocurrency_product_for_woocommerce_checkout_update_order_meta
action Copy link Customise this hookdo_action( 'cryptocurrency_product_for_woocommerce_checkout_update_order_meta', $cryptocurrency_option, $order_id, $data ); -
cryptocurrency_product_for_woocommerce_clean_order_product_txhashes
action Copy link Customise this hookdo_action( 'cryptocurrency_product_for_woocommerce_clean_order_product_txhashes', $cryptocurrency_option, $order_id, $product_id, $lasttxhash ); -
do_action( 'cryptocurrency_product_for_woocommerce_complete_order', $cryptocurrency_option, $order_id, $product_id ); -
do_action( 'cryptocurrency_product_for_woocommerce_custom_js' ); -
do_action( 'cryptocurrency_product_for_woocommerce_enqueue_script' ); -
do_action( 'cryptocurrency_product_for_woocommerce_enqueue_send_task', $cryptocurrency_option, $order_id, $product_id, $marketAddress, $product_quantity ); -
do_action( 'cryptocurrency_product_for_woocommerce_freemius_init_loaded' ); -
cryptocurrency_product_for_woocommerce_get_base_cryptocurrency_symbol
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_get_base_cryptocurrency_symbol', $baseCurrency, $_select_dynamic_price_source_option, $product_id ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_get_order_txhash', $fields, $cryptocurrency_option, $order_id, $product_id ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_get_product_symbols', $options ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_get_save_options', $new_options, $current_screen ); -
cryptocurrency_product_for_woocommerce_get_user_wallet_meta_keys
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_get_user_wallet_meta_keys', '', $cryptocurrency_option ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_is_order_complete', $is_order_complete, $cryptocurrency_option, $order_id, $product_id ); -
do_action( 'cryptocurrency_product_for_woocommerce_print_options', $options, $current_screen ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_product_type_options', $product_type_options ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_product_type_settings', $settings, $_select_cryptocurrency_option, $product_id ); -
cryptocurrency_product_for_woocommerce_save_wc_order_other_fields
action Copy link Customise this hookdo_action( 'cryptocurrency_product_for_woocommerce_save_wc_order_other_fields', $cryptocurrency_option, $order_id ); -
apply_filters( 'cryptocurrency_product_for_woocommerce_settings_tabs', $possible_screens ); -
cryptocurrency_product_for_woocommerce_woocommerce_after_product_object_save
action Copy link Customise this hookdo_action( 'cryptocurrency_product_for_woocommerce_woocommerce_after_product_object_save', $cryptocurrency_option, $product, $data_store ); -
cryptocurrency_product_for_woocommerce_woocommerce_quantity_input_max
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_woocommerce_quantity_input_max', $max, $cryptocurrency_option, $product_id ); -
cryptocurrency_product_for_woocommerce_woocommerce_quantity_input_min
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_woocommerce_quantity_input_min', $min, $cryptocurrency_option, $product_id ); -
cryptocurrency_product_for_woocommerce_woocommerce_quantity_input_step
filter Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_woocommerce_quantity_input_step', $step, $cryptocurrency_option, $product_id ); -
cryptocurrency_product_for_woocommerce_wp_localize_script
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'cryptocurrency_product_for_woocommerce_wp_localize_script', [ 'web3Endpoint' => esc_html( CRYPTOCURRENCY_PRODUCT_FOR_WOOCOMMERCE_getWeb3Endpoint() ), 'walletAddress' => esc_html( $thisWalletAddress ), ] ); -
ethereumico.io/blockchain-info/blockchain-id
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'ethereumico.io/blockchain-info/blockchain-id', null, $blockchainNetwork ); -
ethereumico.io/blockchain-info/blockchain-name
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'ethereumico.io/blockchain-info/blockchain-name', $blockchainNetwork, $chainId ); -
apply_filters( 'ethereumico.io/supported-blockchains', [] ); -
ethereumico.io/supported-blockchains-info
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'ethereumico.io/supported-blockchains-info', [] ); -
apply_filters( 'woocommerce_cart_contents_total', $cart_total ); -
apply_filters( 'woocommerce_cart_get_total', $total ); -
apply_filters( 'woocommerce_cart_hide_zero_taxes', true ); -
apply_filters( 'woocommerce_cart_product_price', $price, $product ); -
apply_filters( 'woocommerce_cart_product_subtotal', $product_subtotal, $product, $quantity, $cart ); -
woocommerce_cart_remove_taxes_zero_rate_id
filter Used by 10 plugins β Copy link Customise this hookapply_filters( 'woocommerce_cart_remove_taxes_zero_rate_id', 'zero-rated' ); -
woocommerce_cart_shipping_method_full_label
filter Used by 5 plugins β Copy link Customise this hookapply_filters( 'woocommerce_cart_shipping_method_full_label', $label, $method ); -
apply_filters( 'woocommerce_cart_shipping_total', $total, $cart ); -
apply_filters( 'woocommerce_cart_subtotal', $cart_subtotal, $compound, $cart ); -
apply_filters( 'woocommerce_cart_tax_totals', $tax_totals, $cart ); -
apply_filters( 'woocommerce_cart_total', $total_display ); -
apply_filters( 'woocommerce_cart_total_discount', $total_display ); -
apply_filters( 'woocommerce_cart_total_ex_tax', $cart_total ); -
woocommerce_checkout_required_field_notice
filter Used by 11 plugins β Copy link Customise this hookapply_filters( 'woocommerce_checkout_required_field_notice', sprintf( __( '%s is a required field.', 'woocommerce' ), '<strong>' . esc_html( $field_label ) . '</strong>' ), $field_label, $key ); -
apply_filters( 'woocommerce_empty_price_html', '', $product ); -
apply_filters( 'woocommerce_get_formatted_order_total', $formatted_total, $order, $tax_display, $display_refunded ); -
woocommerce_get_order_item_totals_excl_free_fees
filter Used by 6 plugins β Copy link Customise this hookapply_filters( 'woocommerce_get_order_item_totals_excl_free_fees', empty( $fee['line_total'] ) && empty( $fee['line_tax'] ), $id ); -
apply_filters( 'woocommerce_grouped_empty_price_html', '', $product ); -
apply_filters( 'woocommerce_grouped_free_price_html', __( 'Free!', 'woocommerce' ), $product ); -
apply_filters( 'woocommerce_grouped_price_html', $price . $product->get_price_suffix(), $product, $child_prices ); -
apply_filters( 'woocommerce_order_discount_to_display', $discount, $order ); -
woocommerce_order_formatted_line_subtotal
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'woocommerce_order_formatted_line_subtotal', $subtotal, $item, $order ); -
apply_filters( 'woocommerce_order_shipping_to_display', $shipping, $order, $tax_display ); -
woocommerce_order_shipping_to_display_shipped_via
filter Used by 5 plugins β Copy link Customise this hookapply_filters( 'woocommerce_order_shipping_to_display_shipped_via', ' <small class="shipped_via">' . sprintf( __( 'via %s', 'woocommerce' ), $order->get_shipping_method() ) . '</small>', $order ); -
apply_filters( 'woocommerce_order_subtotal_to_display', $subtotal, $item, $order ); -
apply_filters( 'woocommerce_quantity_input_max', -1, $_product ); -
apply_filters( 'woocommerce_quantity_input_step', 0.01, $_product ); -
apply_filters( 'woocommerce_variable_empty_price_html', '', $product ); -
apply_filters( 'woocommerce_variable_price_html', $price . $product->get_price_suffix(), $product );
Generated from Cryptocurrency Product 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: