Automattic\WooCommerce\Internal\DataStores

CustomMetaDataStore::get_db_info()protectedWC 1.0

Describes the structure of the metadata table.

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

CustomMetaDataStore::get_db_info() code WC 8.7.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(),
	);
}