PHP 8.2.31
Preview: Query.php Size: 1.41 KB
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/src/Admin/API/Reports/Query.php

<?php
/**
 * Class for parameter-based Reports querying
 */

namespace Automattic\WooCommerce\Admin\API\Reports;

defined( 'ABSPATH' ) || exit;

/**
 * Admin\API\Reports\Query
 *
 * @deprecated 9.3.0 Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly.
 */
abstract class Query extends \WC_Object_Query {

	/**
	 * Create a new query.
	 *
	 * @deprecated 9.3.0 Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly.
	 *
	 * @param array $args Criteria to query on in a format similar to WP_Query.
	 */
	public function __construct( $args = array() ) {
		wc_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '9.3.0', '`GenericQuery`, `\WC_Object_Query`, or direct `DataStore` use' );
		parent::__construct( $args );
	}

	/**
	 * Get report data matching the current query vars.
	 *
	 * @deprecated 9.3.0 Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly.
	 *
	 * @return array|object of WC_Product objects
	 */
	public function get_data() {
		wc_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '9.3.0', '`GenericQuery`, `\WC_Object_Query`, or direct `DataStore` use' );
		/* translators: %s: Method name */
		return new \WP_Error( 'invalid-method', sprintf( __( "Method '%s' not implemented. Must be overridden in subclass.", 'woocommerce' ), __METHOD__ ), array( 'status' => 405 ) );
	}
}

Directory Contents

Dirs: 13 × Files: 17

Name Size Perms Modified Actions
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Coupons DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Customers DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Downloads DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Export DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Import DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Orders DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Products DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Revenue DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Stock DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
Taxes DIR
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
- drwxr-xr-x 2026-05-29 02:43:21
Edit Download
1.48 KB lrw-r--r-- 2022-07-06 00:23:10
Edit Download
6.76 KB lrw-r--r-- 2025-07-29 12:34:58
Edit Download
54.83 KB lrw-r--r-- 2025-11-24 23:10:10
Edit Download
401 B lrw-r--r-- 2022-04-20 06:50:54
Edit Download
624 B lrw-r--r-- 2022-04-20 06:50:54
Edit Download
624 B lrw-r--r-- 2022-04-20 06:50:54
Edit Download
1.55 KB lrw-r--r-- 2024-08-27 23:04:44
Edit Download
9.88 KB lrw-r--r-- 2024-09-23 20:44:04
Edit Download
2.57 KB lrw-r--r-- 2024-08-27 23:04:44
Edit Download
7.99 KB lrw-r--r-- 2025-05-12 21:07:28
Edit Download
3.74 KB lrw-r--r-- 2025-05-12 21:07:28
Edit Download
326 B lrw-r--r-- 2022-04-20 06:50:54
Edit Download
1.41 KB lrw-r--r-- 2024-09-23 20:44:04
Edit Download
25.42 KB lrw-r--r-- 2025-01-21 18:53:44
Edit Download
5.15 KB lrw-r--r-- 2023-01-25 03:19:12
Edit Download
4.76 KB lrw-r--r-- 2024-09-23 20:44:04
Edit Download
23.47 KB lrw-r--r-- 2024-02-27 18:59:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).