__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare( strict_types = 1 );
namespace Automattic\WooCommerce\Internal\Orders;
/**
* Enum class for order note groups. This is stored as meta data to categorize order notes.
*
* This is not surfaced in core UI presently.
*/
final class OrderNoteGroup {
/**
* Any note concerning errors.
*
* @var string
*/
public const ERROR = 'error';
/**
* Any note concerning emails to customers.
*
* @var string
*/
public const EMAIL_NOTIFICATION = 'email_notification';
/**
* Any note concerning stock levels.
*
* @var string
*/
public const PRODUCT_STOCK = 'product_stock';
/**
* Any note concerning payments.
*
* @var string
*/
public const PAYMENT = 'payment';
/**
* Any note concerning order updates.
*
* @var string
*/
public const ORDER_UPDATE = 'order_update';
/**
* Get the default group title for a given group.
*
* @param string $group The group.
* @return string The default group title.
*/
public static function get_default_group_title( string $group ): string {
switch ( $group ) {
case self::PRODUCT_STOCK:
return __( 'Product stock', 'woocommerce' );
case self::PAYMENT:
return __( 'Payment', 'woocommerce' );
case self::EMAIL_NOTIFICATION:
return __( 'Email notification', 'woocommerce' );
case self::ERROR:
return __( 'Error', 'woocommerce' );
default:
return __( 'Order updated', 'woocommerce' );
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| CardIcons | Folder | 0775 |
|
|
| CouponsController.php | File | 3.57 KB | 0664 |
|
| IppFunctions.php | File | 2.19 KB | 0664 |
|
| MobileMessagingHandler.php | File | 5.5 KB | 0664 |
|
| OrderActionsRestController.php | File | 21.04 KB | 0664 |
|
| OrderAttributionBlocksController.php | File | 4.37 KB | 0664 |
|
| OrderAttributionController.php | File | 15.32 KB | 0664 |
|
| OrderNoteGroup.php | File | 1.4 KB | 0664 |
|
| OrderStatusRestController.php | File | 2.62 KB | 0664 |
|
| PaymentInfo.php | File | 4.67 KB | 0664 |
|
| PointOfSaleOrderUtil.php | File | 740 B | 0664 |
|
| TaxesController.php | File | 1.8 KB | 0664 |
|