Content Restriction Compatibility for Software Licensing
/** * Check if the current user has a valid license for the $download_id passed-in. * * @param array ( ‘download’ => Download/Item ID (post_id), ‘price_id’ => Price ID ) * @return bool true/false */ function edd_sl_current_user_has_valid_license_for( $download_ids ){ //…Continue reading