Automattic\WooCommerce\Admin\API\Reports
DataStore::get_included_products()
Returns comma separated ids of allowed products, based on query arguments from the user.
Метод класса: DataStore{}
Хуков нет.
Возвращает
Строку
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_included_products( $query_args );
- $query_args(массив) (обязательный)
- Parameters supplied by the user.
Код DataStore::get_included_products() DataStore::get included products WC 8.7.0
protected function get_included_products( $query_args ) { $included_products = $this->get_included_products_array( $query_args ); return implode( ',', $included_products ); }