Automattic\WooCommerce\Admin\API\Reports

DataStoreInterface{}WC 3.5.0

WooCommerce Reports data store interface.

Хуков нет.

Использование

$DataStoreInterface = new DataStoreInterface();
// use class methods

Методы

  1. public get_data( $args )

Список изменений

С версии 3.5.0 Введена.

Код DataStoreInterface{} WC 8.7.0

interface DataStoreInterface {

	/**
	 * Get the data based on args.
	 *
	 * @param array $args Query parameters.
	 * @return stdClass|WP_Error
	 */
	public function get_data( $args );
}