Description:

Counts files in a package.

<?php wpdm_package_filecount($id); ?>

Return Value:

Returns a int value, which is the total files in the specified package.

Example:

To get file number in a package with ID 1

<?php $total_files = wpdm_package_filecount(1); ?>
Last Updated: Oct 9, 2015


Leave a Reply