2018-09-17 14:32:03 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Reports Data Store Interface
|
|
|
|
*
|
2018-09-18 10:24:43 +00:00
|
|
|
* @package WooCommerce Admin/Interface
|
2018-09-17 14:32:03 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* WooCommerce Reports data store interface.
|
|
|
|
*
|
|
|
|
* @since 3.5.0
|
|
|
|
*/
|
2018-09-18 10:24:43 +00:00
|
|
|
interface WC_Admin_Reports_Data_Store_Interface {
|
2018-09-17 14:32:03 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the data based on args.
|
|
|
|
*
|
|
|
|
* @param array $args Query parameters.
|
|
|
|
* @return stdClass|WP_Error
|
|
|
|
*/
|
|
|
|
public function get_data( $args );
|
|
|
|
}
|