Automattic\WooCommerce\Admin\API\Reports
DataStore::get_included_coupons()
Returns comma separated ids of included coupons, 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_coupons( $query_args, $field );
- $query_args(array) (required)
- Parameters supplied by the user.
- $field(string)
- Field name in the parameter list.
Default: 'coupon_includes'
DataStore::get_included_coupons() DataStore::get included coupons code WC 9.3.3
protected function get_included_coupons( $query_args, $field = 'coupon_includes' ) { return $this->get_filtered_ids( $query_args, $field ); }