Automattic\WooCommerce\Internal\DataStores

CustomMetaDataStore::get_object_id_field()protectedWC 1.0

Returns the name of the field/column used for associating meta with objects.

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

Хуков нет.

Возвращает

Строку.

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

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

Код CustomMetaDataStore::get_object_id_field() WC 8.7.0

protected function get_object_id_field() {
	return 'object_id';
}