Description:

Takes an user ID and returns true if current user has access to the package or category, otherwise false.

Usage:

<?php wpdm_user_has_access($id); ?>

Return Value

Return a boolean true or false.

Example:

To check a user has access to a package or category with ID 1

<?php wpdm_user_has_access(1); ?>
Last Updated: Oct 9, 2015


Leave a Reply