Hi friends
If you are using Wc Vendor plugin and
If you want Allow vendors to view all media library
Step 1
Please open file in editor
wp-content > plugins > wc-vendors > classes > admin > class-admin-users.php
And find filter
Filter user attachments so they only see their own attachments
And remove
Filter Code under this filter
If you are using Wc Vendor plugin and
If you want Allow vendors to view all media library
Step 1
Please open file in editor
wp-content > plugins > wc-vendors > classes > admin > class-admin-users.php
And find filter
Filter user attachments so they only see their own attachments
And remove
Filter Code under this filter
It worked.
ReplyDeleteWe want vendor not to "add media".
Hi rohit please check this page (class-admin-users.php) have all permission. you can set as per your requirements
Deletehow i could disable the upload file tab from media option
ReplyDelete