Файловый менеджер - Редактировать - /home/harasnat/www/labour/wp-content/plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/OrdersProvider.php
Назад
<?php /** * Provider for order-related queries and operations. */ namespace Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors; defined( 'ABSPATH' ) || exit; /** * Provider for order-related queries and operations. */ class OrdersProvider { /** * Allowed order statuses for calculating milestones. * * @var array */ protected $allowed_statuses = array( 'pending', 'processing', 'completed', ); /** * Returns the number of orders. * * @return integer The number of orders. */ public function get_order_count() { $status_counts = array_map( 'wc_orders_count', $this->allowed_statuses ); $orders_count = array_sum( $status_counts ); return $orders_count; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка