WordPress at Your Fingertips
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.


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



Code of wc_update_440_insert_attribute_terms_for_variable_products() WC 5.5.2

function wc_update_440_insert_attribute_terms_for_variable_products() {
	return false;