Description:

Returns user’s roles who have access to a the specified package.

Usage:

<?php wpdm_allowed_roles($id); ?>

Return Value:

Returns an array containing user’s roles which have access to the specified package.

Example:

To find the user’s roles which have access to the package with ID 1

<?php $user_roles = wpdm_allowed_roles($id); ?>
Last Updated: Oct 9, 2015


Leave a Reply