Walley Checkout for WooCommerce 5.1.1 has 12 actions and 34 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 Walley Checkout for WooCommerce fires an action
add_action( 'collector_wc_after_extra_fields', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Walley Checkout for WooCommerce is about to use
add_filter( 'coc_update_shipping', function( $delivery_module ) {
// Change $delivery_module here.
return $delivery_module;
}, 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
-
/** * If a delivery module is not used, the shipping is handled in WooCommerce, * and must be sent in the fee.shipping object. Retrieves first available. * Note: if no shipping is available, fees.shipping is simply unset, NOT null. */ apply_filters( 'coc_update_shipping', ! $this->delivery_module ); -
/** * Filters whether log data is masked before it is written. Return false to log * everything in the clear. Only meant for debugging, never leave it on in * production. */ apply_filters( 'krokedil_wp_api_mask_log_data', \true, $slug ); -
/** * Filter the base backoff delay between retries, in milliseconds. */ apply_filters( 'walley_checkout_request_backoff_ms', self::RETRY_BACKOFF_MS ); -
/** * Filter the maximum number of attempts per request (the initial attempt plus * retries). */ apply_filters( 'walley_checkout_request_max_attempts', 3 ); -
apply_filters( 'coc_request_body', $formatted_request_body ); -
apply_filters( 'walley_checkout_set_timeout', 10 ); -
apply_filters( 'coc_order_capture_args', $body, $this->order_id ); -
apply_filters( 'collector_checkout_sku', $article_number, $order_item ); -
apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ) ); -
apply_filters( 'walley_checkout_request_args', $this->get_body() ); -
apply_filters( 'coc_allowed_tags', $allowed_tags ); -
apply_filters( 'coc_cart_item', $configured_item ); -
apply_filters( 'coc_create_authorization_args', $body, $this->subscription_id ); -
apply_filters( 'coc_order_cancel_args', $body, $this->order_id ); -
apply_filters( 'coc_order_reauthorize_args', $body, $this->order_id ); -
apply_filters( 'coc_order_refund_by_amount_args', $body, $this->order_id, $this->arguments['refund_order_id'] ); -
apply_filters( 'coc_request_body_update_metadata', $formatted_request_body ); -
apply_filters( 'coc_shipping_method', $chosen_shipping_methods, $shipping_data ); -
apply_filters( 'coc_update_cart_metadata', array() ); -
apply_filters( 'collector_checkout_settings', $settings ); -
do_action( 'collector_wc_after_extra_fields' ); -
do_action( 'collector_wc_after_iframe' ); -
do_action( 'collector_wc_after_order_review' ); -
do_action( 'collector_wc_before_checkout_form' ); -
do_action( 'collector_wc_before_extra_fields' ); -
do_action( 'collector_wc_before_iframe' ); -
do_action( 'collector_wc_before_order_review' ); -
do_action( 'walley_after_confirm', $order, $collector_order ); -
apply_filters( 'walley_checkout_meta_box_keys', $keys_for_meta_box ); -
apply_filters( 'walley_custom_fields', array(), $this->order_id ); -
apply_filters( 'walley_get_country_code', $country_code, $currency, $customer_type ); -
apply_filters( 'walley_initialize_checkout_args', $body, $this->order_id ); -
apply_filters( 'walley_is_available', $this->check_availability(), $this ); -
apply_filters( 'walley_save_custom_fields_raw_data', true ); -
apply_filters( 'walley_save_individual_custom_field', true ); -
apply_filters( 'walley_set_order_reference_args', $body, $this->order_id ); -
apply_filters( 'walley_update_cart_args', empty( $this->order_id ) ? $this->cart()['items'] : CCO_WC()->order_items->get_order_lines( $this->order_id )['items'], $this->order_id ); -
apply_filters( 'walley_update_checkout_args', $body, $this->order_id ); -
apply_filters( 'walley_update_fees_args', empty( $this->order_id ) ? Walley_Checkout_Requests_Fees_Helper::fees() : CCO_WC()->order_fees->get_order_fees( $this->order_id ), $this->order_id ); -
apply_filters( 'walley_update_metadata_args', array(), $this->order_id ); -
do_action( 'woocommerce_after_checkout_form', $checkout ); -
do_action( 'woocommerce_before_checkout_form', $checkout ); -
do_action( 'woocommerce_checkout_billing' ); -
do_action( 'woocommerce_checkout_shipping' ); -
apply_filters( 'woocommerce_no_shipping_available_html', __( 'There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woocommerce' ) ); -
apply_filters( 'wpd_delivery_order_type', 'shop_order_delivery', $order );
Generated from Walley Checkout 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: