woocommerce_updated_instance_ids

woocommerce_updated_instance_ids

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_updated_instance_ids') is found 1 times:

  • /includes/wc-update-functions.php line 1185
    1182
    1183
    1184
    1185
    1186
    1187
    1188
    1189
    1190
    1191
                // $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, '-', '...' );" );
    }