Automattic\WooCommerce\Internal\ProductAttributesLookup

LookupDataStore::set_regeneration_aborted_flag()publicWC 1.0

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

Method of the class: LookupDataStore{}

No Hooks.

Return

null. Nothing (null).

Usage

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

LookupDataStore::set_regeneration_aborted_flag() code WC 8.7.0

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