Automattic\WooCommerce\Internal\ProductAttributesLookup
LookupDataStore::__construct()
LookupDataStore constructor.
Method of the class: LookupDataStore{}
No Hooks.
Return
null
. Nothing (null).
Usage
$LookupDataStore = new LookupDataStore(); $LookupDataStore->__construct();
LookupDataStore::__construct() LookupDataStore:: construct code WC 9.7.1
public function __construct() { global $wpdb; $this->lookup_table_name = $wpdb->prefix . 'wc_product_attributes_lookup'; $this->optimized_db_access_is_enabled = $this->can_use_optimized_db_access() && 'yes' === get_option( 'woocommerce_attribute_lookup_optimized_updates' ); $this->init_hooks(); }