| Server IP : 146.59.209.152 / Your IP : 216.73.216.152 Web Server : Apache System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/ipprint/wp-content/plugins/woocommerce/src/Api/Enums/Products/ |
Upload File : |
<?php
declare(strict_types=1);
namespace Automattic\WooCommerce\Api\Enums\Products;
use Automattic\WooCommerce\Api\Attributes\Deprecated;
use Automattic\WooCommerce\Api\Attributes\Description;
use Automattic\WooCommerce\Api\Attributes\Name;
#[Description( 'The publication status of a product.' )]
enum ProductStatus: string {
#[Description( 'The product is a draft.' )]
case Draft = 'draft';
#[Description( 'The product is pending review.' )]
case Pending = 'pending';
#[Name( 'ACTIVE' )]
#[Description( 'The product is published and visible.' )]
case Published = 'publish';
#[Description( 'The product is privately published.' )]
case Private = 'private';
#[Description( 'The product is scheduled to be published in the future.' )]
case Future = 'future';
#[Deprecated( 'Trashed products should be excluded via status filter.' )]
#[Description( 'The product is in the trash.' )]
case Trash = 'trash';
#[Description( 'The product status is not one of the standard WordPress values (e.g. added by a plugin). Inspect raw_status for the underlying value.' )]
case Other = 'other';
}