WordPress at Your Fingertips
class is not described

WC_Customer_Download_Log_Data_Store_Interface{} WC 1.0

WC Customer Download Log Data Store Interface.

No Hooks.

Return

null. Nothing.

Usage

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

Methods

  1. get_download_logs( $args = array() )
  2. get_download_logs_for_permission( $permission_id )

Code of WC_Customer_Download_Log_Data_Store_Interface{} WC 5.5.2

<?php
interface WC_Customer_Download_Log_Data_Store_Interface {

	/**
	 * Get array of download log ids by specified args.
	 *
	 * @param  array $args Arguments.
	 * @return array of WC_Customer_Download_Log
	 */
	public function get_download_logs( $args = array() );

	/**
	 * Get logs for a specific download permission.
	 *
	 * @param  int $permission_id Permission ID.
	 * @return array
	 */
	public function get_download_logs_for_permission( $permission_id );

}