Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php

Co-authored-by: Josh Betz <j@joshbetz.com>
This commit is contained in:
Anitaa Murthy 2022-01-06 10:41:57 +05:30 committed by GitHub
parent e6133734f2
commit b7e2a58cea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ class WC_REST_Coupons_V2_Controller extends WC_REST_CRUD_Controller {
'type' => 'string',
'context' => array( 'view', 'edit' ),
),
'status' => array(
'status' => array(
'description' => __( 'The status of the coupon. Should always be draft, published or pending review', 'woocommerce' ),
'type' => 'string',
'context' => array( 'view', 'edit' ),