WordPress at a glance
function is not described

wc_update_440_insert_attribute_terms_for_variable_products() WC 1.0

Register attributes as terms for variable products, in increments of 100 products.

This migration was added to support a new mechanism to improve the filtering of variable products by attribute (https://github.com/woocommerce/woocommerce/pull/26260), however that mechanism was later reverted (https://github.com/woocommerce/woocommerce/pull/27625) due to numerous issues found. Thus the migration is no longer needed.

No Hooks.

Return

true/false. true if the migration needs to be run again.

Usage

wc_update_440_insert_attribute_terms_for_variable_products();

Code of wc_update_440_insert_attribute_terms_for_variable_products() WC 5.0.0

<?php
function wc_update_440_insert_attribute_terms_for_variable_products() {
	return false;
}