Detect the recently uploaded files per package

Viewing 2 posts - 1 through 2 (of 2 total)
#52883

7M
Member

Hello,

We need to detect the upload date per file for our “Recent File Uploads” feature for every package.. We noticed that the plugin saves the attributes per file in the postmeta field labeled as__wpdm_fileinfo, it saves the attributes like this:


Array
(
    [1484908445087] ► Array
        (
            [title] ► BULL-epi0101-0220bi.jpg
            [password] ► 
        )

    [1484730826923] ► Array
        (
            [title] ► before import.png
            [password] ► 
        )
....

Is it possible if we add a new field here for the upload date so it will become


Array
(
    [1484908445087] ► Array
        (
            [title] ► BULL-epi0101-0220bi.jpg
            [password] ► 
            [upload_date] ► <em>upload_date_here</em>
        )
....

?

If this is possible, where could we safely customize this part of code? Or is there any better way to achieve this? Thanks!

#52949

Shahjada
Keymaster

Noted for implementation.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Detect the recently uploaded files per package’ is closed to new replies.