WordPress at a glance
function is not described


DataStore::get_excluded_products() protected WC 1.0

Returns comma separated ids of excluded products, based on query arguments from the user.

{} It's a method of the class: DataStore{}

No Hooks.


String. Nothing.


// protected - for code of main (parent) or child class
$result = $this->get_excluded_products( $query_args );
$query_args(array) (required)
Parameters supplied by the user.

Code of DataStore::get_excluded_products() WC 5.3.0

protected function get_excluded_products( $query_args ) {
	$excluded_products = $this->get_excluded_products_array( $query_args );
	return implode( ',', $excluded_products );