woocommerce_updated_instance_ids

woocommerce_updated_instance_ids

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_updated_instance_ids') is found 1 times:

  • /includes/wc-update-functions.php line 1176
     
    			// $changes contains keys (old method ids) and values (new instance ids) if extra processing is needed in plugins.
    			// Store this to an option so extensions can pick it up later, then fire an action.
    			update_option( 'woocommerce_updated_instance_ids', $changes );
    			do_action( 'woocommerce_updated_instance_ids', $changes );
    		}
    	}
    
    	// Change ranges used to ...
    	$wpdb->query( "UPDATE {$wpdb->prefix}woocommerce_shipping_zone_locations SET location_code = REPLACE( location_code, '-', '...' );" );
    }