Automattic\WooCommerce\Admin\API\Reports
DataStore::get_included_products()
Returns comma separated ids of allowed products, based on query arguments from the user.
Method of the class: DataStore{}
No Hooks.
Return
String
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_included_products( $query_args );
- $query_args(array) (required)
- Parameters supplied by the user.
DataStore::get_included_products() DataStore::get included products code WC 8.7.0
protected function get_included_products( $query_args ) { $included_products = $this->get_included_products_array( $query_args ); return implode( ',', $included_products ); }