Jean Kilheffer Hess

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
in reply to: Getting the file path of a file attached to a package #163653

Jean Kilheffer Hess
Participant

@Nayeem Riddhi, I just tried uploading through the media library and I’m getting the full URL of the file when fetching it with this

$files = maybe_unserialize(get_post_meta($post->ID, '__wpdm_files', true));

When I try loading from server, I just get the file name and not the full upload path. Even when I use the line above.


Jean Kilheffer Hess
Participant
This reply has been marked as private.

Jean Kilheffer Hess
Participant
This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)