Automattic\WooCommerce\Admin\API\Reports

DataStore::get_included_orders()protectedWC 1.0

Returns comma separated ids of included orders, based on query arguments from the user.

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

Хуков нет.

Возвращает

Строку.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_included_orders( $query_args );
$query_args(массив) (обязательный)
Parameters supplied by the user.

Код DataStore::get_included_orders() WC 8.7.0

protected function get_included_orders( $query_args ) {
	return $this->get_filtered_ids( $query_args, 'order_includes' );
}