WordPress at a glance
function is not described

WC_API_Coupons::create_coupon() public WC 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 5.0.0

<?php
public function create_coupon( $data ) {

	return array();
}