Automattic\WooCommerce\Admin\API\Reports
DataStoreInterface{}
WooCommerce Reports data store interface.
No Hooks.
Usage
$DataStoreInterface = new DataStoreInterface(); // use class methods
Methods
- public get_data( $args )
Changelog
| Since 3.5.0 | Introduced. |
DataStoreInterface{} DataStoreInterface{} code WC 10.4.3
interface DataStoreInterface {
/**
* Get the data based on args.
*
* @param array $args Query parameters.
* @return stdClass|WP_Error
*/
public function get_data( $args );
}