Automattic\WooCommerce\Internal\DataStores
CustomMetaDataStore::get_db_info
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() CustomMetaDataStore::get db info WC 10.8.1
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(),
);
}