WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
класс не описан

WC_Customer_Download_Log_Data_Store_Interface() WC 1.0

WC Customer Download Log Data Store Interface.

Хуков нет.

Возвращает

Null. Ничего.

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

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

Методы

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

Код WC Customer Download Log Data Store Interface: woocommerce/includes/interfaces/class-wc-customer-download-log-data-store-interface.php WC 4.3.1

<?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 );

}