WC_API_Coupons::create_coupon()publicWC 1.0

Create a coupon

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

No Hooks.

Return

Array.

Usage

$WC_API_Coupons = new WC_API_Coupons();
$WC_API_Coupons->create_coupon( $data );
$data(array) (required)
-

Code of WC_API_Coupons::create_coupon() WC 7.1.0

public function create_coupon( $data ) {

	return array();
}