Automattic\WooCommerce\Admin\API\Reports
DataStore::get_excluded_coupons
Returns comma separated ids of excluded coupons, based on query arguments from the user.
Method of the class: DataStore{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->get_excluded_coupons( $query_args );
- $query_args(array) (required)
- Parameters supplied by the user.
DataStore::get_excluded_coupons() DataStore::get excluded coupons code WC 10.3.6
protected function get_excluded_coupons( $query_args ) {
return $this->get_filtered_ids( $query_args, 'coupon_excludes' );
}