Docs / Function Reference / wpdm_package_filecount

wpdm_package_filecount

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 on January 26, 2026

Need Help?

Get support from our team or community forum.

Visit Support

Customization

Need custom features? We can help.

Request Quote