Description: Takes a package ID and returns the database record for that package. Usage: <?php wpdm_get_package($id); ?> Return Value: Return package data in an Array if package exists Example: To get the title for a post with ID 2: <?php $package = wpdm_get_package(2); echo $package[‘post_title’]; ?> To get the download count: <?php echo $package[‘download_count’]; ?> … Continue reading wpdm_get_package
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed