$pack = array(); $pack['ID'] = get_the_ID(); $pack = wpdm_setup_package_data($pack); $audio_player = \WPDM\libs\FileList::Table($pack); and echo $audio_player this will generate the audio player with existing files, you can use this with the data table. Which comes from the Table function from plugins\download-manager\libs\class.FileList.php file.