Automattic\WooCommerce\Admin\API\Reports
DataStoreInterface{}
WooCommerce Reports data store interface.
Хуков нет.
Использование
$DataStoreInterface = new DataStoreInterface(); // use class methods
Методы
- public get_data( $args )
Список изменений
| С версии 3.5.0 | Введена. |
Код DataStoreInterface{} DataStoreInterface{} WC 10.7.0
interface DataStoreInterface {
/**
* Get the data based on args.
*
* @param array $args Query parameters.
* @return stdClass|WP_Error
*/
public function get_data( $args );
}