Automattic\WooCommerce\Internal\ProductAttributesLookup
LookupDataStore::optimized_data_access_is_enabled()
Check if the optimized database access setting is enabled.
Method of the class: LookupDataStore{}
No Hooks.
Return
true|false
. True if the optimized database access setting is enabled.
Usage
$LookupDataStore = new LookupDataStore(); $LookupDataStore->optimized_data_access_is_enabled();
LookupDataStore::optimized_data_access_is_enabled() LookupDataStore::optimized data access is enabled code WC 9.3.3
public function optimized_data_access_is_enabled() { return 'yes' === get_option( 'woocommerce_attribute_lookup_optimized_updates' ); }