Automattic\WooCommerce\Internal\ProductAttributesLookup

LookupDataStore::regeneration_was_aborted()publicWC 1.0

Tells if the last lookup table regeneration process started was aborted (via deleting the 'woocommerce_attribute_lookup_regeneration_in_progress' option).

{} Это метод класса: LookupDataStore{}

Хуков нет.

Возвращает

true|false. True if the last lookup table regeneration process was aborted.

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

$LookupDataStore = new LookupDataStore();
$LookupDataStore->regeneration_was_aborted(): bool;

Код LookupDataStore::regeneration_was_aborted() WC 6.8.0

public function regeneration_was_aborted(): bool {
	return 'yes' === get_option( 'woocommerce_attribute_lookup_regeneration_aborted' );
}