Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStoreMeta::get_object_id_field()protectedWC 1.0

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

Method of the class: OrdersTableDataStoreMeta{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_object_id_field();

OrdersTableDataStoreMeta::get_object_id_field() code WC 7.1.1

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