WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Авторские Темы для WordPress
функция не описана

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.

Хуков нет.

Возвращает

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

Использование

wc_update_440_insert_attribute_terms_for_variable_products();

Код wc_update_440_insert_attribute_terms_for_variable_products() WC 5.4.1

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