I can’t see my media library for my custom role “restricted user”. The capabilities works well for the rest, but I can’t see any image in my library (with this role only).
The ajax loading is working (success : true), but the media keeps loading on my post type.
I’m using Publisspress Capability.
Update
It doesn’t seem to be a capability problem. I have a function that hide some menu entry for some roles. If the function is activated, the media are not loading.
This is my code :
Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com