Automattic\WooCommerce\Internal\ProductAttributesLookup

LookupDataStore::regeneration_is_in_progress()publicWC 1.0

Tells if a lookup table regeneration is currently in progress.

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

No Hooks.

Return

true|false. True if a lookup table regeneration is already in progress.

Usage

$LookupDataStore = new LookupDataStore();
$LookupDataStore->regeneration_is_in_progress();

Код LookupDataStore::regeneration_is_in_progress() WC 7.1.0

public function regeneration_is_in_progress() {
	return get_option( 'woocommerce_attribute_lookup_regeneration_in_progress', null ) === 'yes';
}