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