WALoops Express Checkout for WooCommerce 1.0.18 has 21 actions and 17 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 WALoops Express Checkout for WooCommerce fires an action
add_action( 'wlec_address_deleted', function( $address_id, $user_id ) {
// Your code runs here.
}, 10, 2 );
// Change a value WALoops Express Checkout for WooCommerce is about to use
add_filter( 'wlec_address_checkout_fields', function( $fields ) {
// Change $fields here.
return $fields;
}, 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
-
/** * Filters the registered WooCommerce address fields shown in Express Checkout. */ apply_filters( 'wlec_address_checkout_fields', $fields ); -
/** * Fires after an address is removed from a shopper's address book. */ do_action( 'wlec_address_deleted', $address_id, $user_id ); -
/** * Filters which address fields are required before an address can be saved or * an order placed — e.g. a single-city store could drop 'city'/'state', or a * merchant could add a custom field registered via the address form. */ apply_filters( 'wlec_address_required_fields', array( 'name', 'phone', 'address1', 'pincode', 'city', 'state' ) ); -
/** * Fires after an address is added or updated in a shopper's address book (and, * if it's their default, synced into WC's own billing_/ shipping_ user meta * above). */ do_action( 'wlec_address_saved', $entry, $user_id ); -
/** * Fires when this plugin's settings screen enqueues its assets, so an * extension can enqueue its own scripts/styles for the same screen. */ do_action( 'wlec_admin_enqueue_assets' ); -
/** * Fires after a product has been added to the cart via this drawer (distinct * from WooCommerce's own 'woocommerce_add_to_cart', which already fired inside * add_to_cart() above — this one specifically marks "this happened through * the quick-checkout drawer"). */ do_action( 'wlec_after_add_to_cart', $added, $product_id, $quantity, $variation_id ); -
/** * This filter is documented in docs/HOOKS.md. */ apply_filters( 'wlec_auto_open_cart', true ); -
/** * Fires right before this drawer adds a product to the cart — before * WooCommerce's own 'woocommerce_add_to_cart' (which add_to_cart() fires * internally on success), so a listener here can still act even if the add * itself is about to fail validation. */ do_action( 'wlec_before_add_to_cart', $product_id, $quantity, $variation_id, $variation ); -
/** * Fires at the start of every cart snapshot, before it is read — lets an * add-on adjust the cart (e.g. auto-apply a discount) so the snapshot reflects * it. */ do_action( 'wlec_before_cart_snapshot' ); -
/** * Filters the billing fields derived from a resolved address just before * they're written into $_POST for process_checkout() and into WC()->customer * — e.g. to split a differently-shaped name field, or force a specific email * domain policy. */ apply_filters( 'wlec_billing_fields', $billing, $address ); -
/** * Filters the cart snapshot payload sent to the drawer/checkout JS — lets a * theme or plugin add extra fields (e.g. loyalty points, a custom badge) or * override any of the above before it reaches the browser. */ apply_filters( 'wlec_cart_snapshot', $snapshot, $cart ); -
/** * Filters the default settings. Add-ons use this to register the defaults of * their own options. */ apply_filters( 'wlec_default_settings', $defaults ); -
/** * Filters the delivery/pickup rates shown in this drawer/checkout for a given * address — WLEC's own presentation-layer filter, distinct from * WooCommerce's rate-calculation filters (e.g. 'woocommerce_package_rates'), * which already ran before this point. Use this to relabel, reorder, or hide * specific rate_ids in the popup specifically, without changing what native * WooCommerce checkout itself would... */ apply_filters( 'wlec_delivery_rates', $rates, $address ); -
/** * Fires after a shopper verified an emailed code and was logged in. */ do_action( 'wlec_email_otp_verified', $user->ID, $email ); -
/** * Filters whether the coupon box is removed from the drawer and checkout. */ apply_filters( 'wlec_hide_coupon_box', $coupons_off ); -
/** * Filters whether coupon codes are hidden from shoppers: the popup lists * offers by a label instead of their code, and applied coupons show as a * generic "Discount". A code the shopper types in themselves still works. */ apply_filters( 'wlec_hide_coupon_codes', false ); -
/** * Fires when a guest ticked the marketing-emails checkbox and their order was * placed — hook a newsletter/CRM here. */ do_action( 'wlec_marketing_optin', $email, $order_id ); -
/** * Fires right after an order placed through this checkout panel has been * processed by WooCommerce's own process_checkout() — at the same point * core's own 'woocommerce_checkout_order_processed' fires, which already ran * and is what triggers this. Kept as our own hook too so a listener can * identify "this order came through the WLEC popup" without inspecting order * meta. */ do_action( 'wlec_order_placed', $order_id ); -
/** * Fires after an OTP has been successfully sent to $phone. */ do_action( 'wlec_otp_sent', $phone ); -
/** * Fires after a shopper's WhatsApp OTP is verified and they're logged in * (whether that resolved to an existing account or a new one — see * find_or_create()). */ do_action( 'wlec_otp_verified', $user->ID, $phone ); -
/** * This filter is documented in docs/HOOKS.md. */ apply_filters( 'wlec_payment_methods', $methods ); -
/** * This filter is documented in docs/HOOKS.md. */ apply_filters( 'wlec_pincode_lookup_enabled', false ); -
/** * Filters whether this account may sign in through the checkout panel. */ apply_filters( 'wlec_quick_login_allowed', $allowed, $user ); -
/** * Filters the settings about to be saved, so an extension can read its own * fields from the (already nonce- and capability-checked) request and merge * them in. The extension must sanitize every value itself. */ apply_filters( 'wlec_save_settings', $settings ); -
/** * Filters the merged settings (saved options + defaults) every part of this * plugin reads from: the single place a theme or plugin can override any * setting programmatically (e.g. force 'checkout_mode' to 'popup' on one page * template) without touching the saved option. See docs/HOOKS.md. */ apply_filters( 'wlec_settings', $settings ); -
/** * Prints extension panels that need their own <form> (a form can't nest inside * the settings form above). */ do_action( 'wlec_settings_after_form', $settings, $wlec_active_tab ); -
/** * Prints extra cards on the General tab, after the floating cart button. The * Pro edition prints its own here; this plugin prints locked previews. */ do_action( 'wlec_settings_general_cards', $settings ); -
/** * Prints an extension's settings panels inside the settings form. Each panel * is a `.wlec-tab-panel[data-tab-panel="<tab id>"]` element for a tab added * through the 'wlec_settings_tabs' filter. */ do_action( 'wlec_settings_panels', $settings, $wlec_active_tab, $gateways ); -
/** * Fires after the settings were saved. */ do_action( 'wlec_settings_saved', $settings ); -
/** * Filters the settings tabs. An extension adds its own tab here and prints the * panel on the 'wlec_settings_panels' action. */ apply_filters( 'wlec_settings_tabs', $tabs ); -
/** * Fires after the shopper's chosen delivery/pickup rate has been written to * the session and totals recalculated. */ do_action( 'wlec_shipping_method_selected', $rate_id ); -
/** * This filter is documented in docs/HOOKS.md. */ apply_filters( 'wlec_skip_address_confirmation', true ); -
do_action( 'wlec_before_place_order', $posted, $address ); -
do_action( 'wlec_payment_method_selected', $method ); -
do_action( 'woocommerce_created_customer', $user_id, $customer_data, true ); -
do_action( 'woocommerce_reset_password_notification', $user->user_login, $key ); -
do_action( 'wp_login', $user->user_login, $user ); -
apply_filters( 'wlec_is_checkout_spoof_skip_plugins', array( 'plausible-analytics', 'google-site-kit', 'woocommerce-google-analytics-integration', 'google-analytics-for-wordpress', 'duracelltomi-google-tag-manager', 'gtm-ecommerce-woo', 'pixelyoursite', 'pixelyoursite-pro', 'facebook-for-woocommerce', 'woocommerce-google-adwords-conversion-tracking-tag', 'matomo', 'wp-statistics', 'independent-analytics', 'koko-analytics' ) );
Generated from WALoops Express 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: