Automattic\WooCommerce\Internal\DataStores

CustomMetaDataStore::get_db_info()protectedWC 1.0

Describes the structure of the metadata table.

Метод класса: CustomMetaDataStore{}

Хуков нет.

Возвращает

Массив. Array elements: table, object_id_field, meta_id_field.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_db_info();

Код CustomMetaDataStore::get_db_info() 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(),
	);
}