Automattic\WooCommerce\Internal\DataStores

CustomMetaDataStore::get_db_infoprotectedWC 1.0

Describes the structure of the metadata table.

Method of the class: CustomMetaDataStore{}

No Hooks.

Returns

Array. Array elements: table, object_id_field, meta_id_field.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_db_info();

CustomMetaDataStore::get_db_info() code WC 10.3.6

protected function get_db_info() {
	return array(
		'table'           => $this->get_table_name(),
		'meta_id_field'   => $this->get_meta_id_field(),
		'object_id_field' => $this->get_object_id_field(),
	);
}