Automattic\WooCommerce\Internal\ProductAttributesLookup

LookupDataStore::set_regeneration_in_progress_flag()publicWC 1.0

Set a permanent flag (via option) indicating that the lookup table regeneration is in process.

Method of the class: LookupDataStore{}

No Hooks.

Return

null. Nothing (null).

Usage

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

LookupDataStore::set_regeneration_in_progress_flag() code WC 8.7.0

public function set_regeneration_in_progress_flag() {
	update_option( 'woocommerce_attribute_lookup_regeneration_in_progress', 'yes' );
}