Automattic\WooCommerce\Internal\ProductAttributesLookup

LookupDataStore::set_regeneration_aborted_flagpublicWC 1.0

Set a flag indicating that the last lookup table regeneration process started was aborted.

Method of the class: LookupDataStore{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

LookupDataStore::set_regeneration_aborted_flag() code WC 10.3.3

public function set_regeneration_aborted_flag() {
	update_option( 'woocommerce_attribute_lookup_regeneration_aborted', 'yes' );
}