Allow custom user role to view invoice PDF

Hi there,

I have a custom user role that needs permission to view invoice PDF’s of orders created. Right now the role doesn’t have that permission according to the message I get when trying to view a PDF.

I’ve already added 'manage_woocommerce' => true, to my user roles capabilities and cleared some caches, but it’s still not working. How can I get this to work? Thanks!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer