woocommerce_ship_to_different_address_checked

woocommerce_ship_to_different_address_checked

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_ship_to_different_address_checked') is found 1 times:

  • /templates/checkout/form-shipping.php line 26
    	<?php if ( true === WC()->cart->needs_shipping_address() ) : ?>
    
    		<h3 id="ship-to-different-address">
    			<label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
    				<input id="ship-to-different-address-checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" <?php checked( apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 ), 1 ); ?> type="checkbox" name="ship_to_different_address" value="1" /> <span><?php esc_html_e( 'Ship to a different address?', 'woocommerce' ); ?></span>
    			</label>
    		</h3>
    
    		<div class="shipping_address">
    
    			<?php do_action( 'woocommerce_before_checkout_shipping_form', $checkout ); ?>