Skip to content
CODEX
  • Home
  • About Us
  • Gallery
  • Contact Us
  • WooCommerce
    • Single Product Page
    • How to change the woocommerce price?
    • WooCommerce Product Vendors: Display Vendor Details
    • WooCommerce Custom Fields for Variations
    • WooCommerce Products Custom Fields
    • How to change In Stock & Out of Stock text displayed on a product page
    • Change WooCommerce Ship to a different address?
    • WooCommerce Product Category Text & Textarea
    • Adding Custom Fields on Product Category
    • WooCommerce Product Category Banner
    • Custom Product Data Fields Using Array
  • Product Category
    • WooCommerce Product Category Banner
    • Adding Custom Fields on Product Category
    • WooCommerce Product Category Text & Textarea
  • Product Page
    • WooCommerce Products Custom Fields
  • Visual Hook Guide
    • Single Product Page
  • Solution Tips
    • Template structure & Overriding templates via a Plugin
    • Refresh wooCommerce product page on added to cart problem
  1. Home
  2. WooCommerce
  3. Change WooCommerce Ship to a different address?

Change WooCommerce Ship to a different address?

Posted on July 19, 2018 | by admin

Add the following code to the ‘custom functions’ area of your theme’s functions.php file.

For Enable:

add_filter( 'woocommerce_ship_to_different_address_checked', '__return_true' );

For Disable:

add_filter( 'woocommerce_ship_to_different_address_checked', '__return_false' );

Related articles

  • How To Export Custom Posts and Metabox To CSV
  • Unregister Widget
  • Icon Select Field
Posted in WooCommerce

© 2025 TemplateEYE. All rights reserved.
Power by DeshiSoft