WooCommerce Code Reference

Search results

WC_Customer_Download_Log_Data_Store_Interface

WC Customer Download Log Data Store Interface.

Table of Contents

get_download_logs() Get array of download log ids by specified args. array
get_download_logs_for_permission() Get logs for a specific download permission. array

Methods

get_download_logs()

Get array of download log ids by specified args.

public get_download_logs( [ $args : array = array() ] ) : array
Parameters
$args : array = array()

Arguments.

Return values
array

of WC_Customer_Download_Log

get_download_logs_for_permission()

Get logs for a specific download permission.

public get_download_logs_for_permission( $permission_id : int ) : array
Parameters
$permission_id : int

Permission ID.

Return values
array
Back to the top