WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Internal\ProductAttributesLookup

LookupDataStore::set_regeneration_in_progress_flag() public WC 1.0

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

{} It's a method of the class: LookupDataStore{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of LookupDataStore::set_regeneration_in_progress_flag() WC 5.9.0

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