WordPress filter hook
woocommerce_ship_to_different_address_checked
Defined by WooCommerce and fired by 39 plugins in total, running on 8.4M+ sites between them.
How to use woocommerce_ship_to_different_address_checked
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'woocommerce_ship_to_different_address_checked', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
39 plugins that fire woocommerce_ship_to_different_address_checked
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/checkout/form-shipping.php:26 -
Essential Addons for Elementor1+ million installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )includes/Template/Woocommerce/Checkout/Woo_Checkout_Helper.php:693 -
CartFlows200,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )woocommerce/template/checkout/form-shipping.php:30 -
ShopEngine90,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option('woocommerce_ship_to_destination') ? 1 : 0 )widgets/checkout-form-shipping/screens/default.php:43 -
ShopLentor80,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )includes/modules/shopify-like-checkout/includes/templates/form-shipping.php:15 -
Price Based on Country for WooCommerce20,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', get_option( 'woocommerce_ship_to_destination' ) === 'shipping' ? 1 : 0 )includes/wcpbc-core-functions.php:92 -
ShopBuilder10,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/elementor/checkout/shipping-form.php:29 -
Youzify5,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )includes/public/templates/members/single/woocommerce/checkout/form-shipping.php:29 -
WowStore4,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )blocks/woo/checkout/shipping/Template.php:15 -
Ultimate Store Kit3,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option('woocommerce_ship_to_destination') ? 1 : 0 )modules/page-checkout/widgets/page-checkout.php:980 -
Responsive Addons for Elementor3,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )traits/responsive-addons-for-elementor-woo-checkout-helper.php:888 -
One page checkout and layouts for woocommerce3,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )WooCommerce/checkout/form-shipping.php:26 -
ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option('woocommerce_ship_to_destination') ? 1 : 0 )blocks/checkout-form-shipping/screen.php:34 -
Product page shipping calculator for WooCommerce1,000+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )public/class-rset-logedin-customer-address.php:13 -
ShopPress600+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )public/templates/checkout/checkout-shipping-form.php:32 -
StoreBuild400+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )public/woocommerce/checkout/form-shipping.php:30 -
Noah Shop Builder for WooCommerce300+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )includes/Blocks/CheckoutAddress.php:110 -
Postcodes4U Address Finder300+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )woocommerce/checkout/form-shipping.php:37 -
FoodBook Lite300+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )template/woocommerce/checkout/form-shipping.php:25 -
KiriminAja Official200+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/woocommerce/checkout/form-shipping.php:26 -
ShopMaker90+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/widgets/checkout/form-shipping.php:31 -
Product Page Customizer for WooCommerce60+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )frontend/Enable-Quick-Checkout/templates/checkout/quick-checkout-form-shipping.php:33 -
Checkout Custom Fields Builder for WooCommerce30+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/frontend/checkout/form-billing.php:42 -
One Page Checkout for WooCommerce30+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )public/templates/checkout/form-shipping.php:26 -
ShipBG for WooCommerce10+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === \get_option( 'woocommerce_ship_to_destination' ) )src/Shipping/OptimizedFieldsMutator.php:251 -
Max Elements for Elementor10+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option('woocommerce_ship_to_destination') ? 1 : 0 )elementor/helpers/woo_checkout.php:684 -
WPC10+ installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )app/inc/Addons/wpc-onepage-checkout/templates/checkout/form-shipping.php:17 -
YayCheckoutFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 0 )assets/dist/blocks/different-address/render.php:40 -
VIMAFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/checkout/form-shipping.php:34 -
Cresta Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/wc/checkout/form-shipping.php:20 -
MCOD Minimalist Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/woocommerce/checkout/form-shipping.php:23 -
SuperPlusFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option('woocommerce_ship_to_destination') ? 1 : 0 )includes/modules/checkout-steps/class-sp-wsv-module-checkout-steps.php:2227 -
SKYRO Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )src/FrontEnd/TemplateFiles/TemplateParts/form-shipping.php:29 -
Comet LevelUp for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', true )includes/LiveTests/test_uncheck_ship_different.php:24 -
Xcodesol Shop BuilderFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )blocks/page/cc-checkout-parts.php:78 -
Zamzam Chat Order for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )includes/Frontend/class-checkout-handler.php:166 -
Product Page Shipping for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/checkout/form-shipping.php:26 -
ithan devvn checkout for woocommerceFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 )templates/checkout/form-shipping.php:13 -
BazarioFewer than 10 installs
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option('woocommerce_ship_to_destination') ? 1 : 0 )elements/widgets/checkout-form-shipping/checkout-form-shipping.php:758
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.