WALoops Express Checkout for WooCommerce icon
eCommerce & WooCommerce

WALoops Express Checkout for WooCommerce hooks reference

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.

functions.phpyour child theme
// 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

  • includes/class-wlec-address-book.php line 48 · used in 2 places
    /**
     * Filters the registered WooCommerce address fields shown in Express Checkout.
     */
    apply_filters( 'wlec_address_checkout_fields', $fields );
  • includes/class-wlec-address-book.php line 497 · used in 2 places
    /**
     * Fires after an address is removed from a shopper's address book.
     */
    do_action( 'wlec_address_deleted', $address_id, $user_id );
  • includes/class-wlec-address-book.php line 343 · used in 2 places
    /**
     * 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' ) );
  • includes/class-wlec-address-book.php line 464 · used in 2 places
    /**
     * 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 );
  • admin/class-wlec-settings.php line 83 · used in 2 places
    /**
     * 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' );
  • includes/class-wlec-cart-drawer.php line 482 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-cart-drawer.php line 71 · used in 2 places
    /**
     * This filter is documented in docs/HOOKS.md.
     */
    apply_filters( 'wlec_auto_open_cart', true );
  • includes/class-wlec-cart-drawer.php line 459 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-cart-drawer.php line 244 · used in 2 places
    /**
     * 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' );
  • includes/class-wlec-checkout.php line 536 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-cart-drawer.php line 419 · used in 2 places
    /**
     * 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 );
  • trunk/waloops-express-checkout-for-woocommerce.php line 285 · used in 2 places
    /**
     * Filters the default settings. Add-ons use this to register the defaults of
     * their own options.
     */
    apply_filters( 'wlec_default_settings', $defaults );
  • includes/class-wlec-delivery.php line 108 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-email-auth.php line 157 · used in 2 places
    /**
     * Fires after a shopper verified an emailed code and was logged in.
     */
    do_action( 'wlec_email_otp_verified', $user->ID, $email );
  • includes/class-wlec-cart-drawer.php line 536 · used in 2 places
    /**
     * Filters whether the coupon box is removed from the drawer and checkout.
     */
    apply_filters( 'wlec_hide_coupon_box', $coupons_off );
  • includes/class-wlec-cart-drawer.php line 553 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-checkout.php line 485 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-checkout.php line 58 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-otp-auth.php line 96 · used in 2 places
    /**
     * Fires after an OTP has been successfully sent to $phone.
     */
    do_action( 'wlec_otp_sent', $phone );
  • includes/class-wlec-otp-auth.php line 146 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-checkout.php line 114 · used in 2 places
    /**
     * This filter is documented in docs/HOOKS.md.
     */
    apply_filters( 'wlec_payment_methods', $methods );
  • includes/class-wlec-cart-drawer.php line 100 · used in 2 places
    /**
     * This filter is documented in docs/HOOKS.md.
     */
    apply_filters( 'wlec_pincode_lookup_enabled', false );
  • includes/class-wlec-otp-auth.php line 238 · used in 2 places
    /**
     * Filters whether this account may sign in through the checkout panel.
     */
    apply_filters( 'wlec_quick_login_allowed', $allowed, $user );
  • admin/class-wlec-settings.php line 251 · used in 2 places
    /**
     * 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 );
  • trunk/waloops-express-checkout-for-woocommerce.php line 334 · used in 2 places
    /**
     * 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 );
  • admin/views/settings-page.php line 656 · used in 2 places
    /**
     * 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 );
  • admin/views/settings-page.php line 162 · used in 2 places
    /**
     * 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 );
  • admin/views/settings-page.php line 600 · used in 2 places
    /**
     * 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 );
  • admin/class-wlec-settings.php line 260 · used in 2 places
    /**
     * Fires after the settings were saved.
     */
    do_action( 'wlec_settings_saved', $settings );
  • admin/class-wlec-settings.php line 288 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-delivery.php line 368 · used in 2 places
    /**
     * 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 );
  • includes/class-wlec-cart-drawer.php line 96 · used in 2 places
    /**
     * This filter is documented in docs/HOOKS.md.
     */
    apply_filters( 'wlec_skip_address_confirmation', true );
  • includes/class-wlec-checkout.php line 291 · used in 2 places
    do_action( 'wlec_before_place_order', $posted, $address );
  • includes/class-wlec-checkout.php line 131 · used in 2 places
    do_action( 'wlec_payment_method_selected', $method );
  • includes/class-wlec-otp-auth.php line 212 · used in 2 places
    do_action( 'woocommerce_created_customer', $user_id, $customer_data, true );
  • includes/class-wlec-email-auth.php line 238 · used in 2 places
    do_action( 'woocommerce_reset_password_notification', $user->user_login, $key );
  • includes/class-wlec-otp-auth.php line 257 · used in 2 places
    do_action( 'wp_login', $user->user_login, $user );
  • trunk/waloops-express-checkout-for-woocommerce.php line 142
    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.

Plugin 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 this

Not 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: