28 lines
418 B
PHP
28 lines
418 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Reports Data Store Interface
|
||
|
*
|
||
|
* @version 3.5.0
|
||
|
* @package WooCommerce/Interface
|
||
|
*/
|
||
|
|
||
|
if ( ! defined( 'ABSPATH' ) ) {
|
||
|
exit;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* WooCommerce Reports data store interface.
|
||
|
*
|
||
|
* @since 3.5.0
|
||
|
*/
|
||
|
interface WC_Reports_Data_Store_Interface {
|
||
|
|
||
|
/**
|
||
|
* Get the data based on args.
|
||
|
*
|
||
|
* @param array $args Query parameters.
|
||
|
* @return stdClass|WP_Error
|
||
|
*/
|
||
|
public function get_data( $args );
|
||
|
}
|