Automattic\WooCommerce\Internal\DataStores

CustomMetaDataStore::get_db_info()protectedWC 1.0

Describes the structure of the metadata table.

{} It's a method of the class: CustomMetaDataStore{}

No Hooks.

Return

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();

Code of CustomMetaDataStore::get_db_info() WC 7.1.0

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(),
	);
}