Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_user_downloads()

Description

Use resource log to obtain a count of resources downloaded by the specified user in the last X days

Parameters

ColumnTypeDefaultDescription
$userref integer User reference
$user_dl_days integer The number of days to check the resource log for

Return

integer download count

This article was last updated 30th November 2020 02:35 Europe/London time based on the source file dated 23rd October 2020 12:55 Europe/London time.