All download manager packages are WordPress custom post types, you may use get_post($ID) to retrieve regular post data. Other custom package data like download count, view count, package size are stored as post meta, so you may use get_post_meta function to retrieve any package data. For example, to retrieve download count, you need to use get_post_meta($ID, '__wpdm_count_count', true);. However, wpdm also have a function to retrieve sepcific package data, which is explained here:

get_package_data

More Function References:

Function Reference

 

Last Updated: Sep 11, 2017


Leave a Reply