Question
I'm struggling with a strange issue. I was pretty sure that I can use such a pattern to collect all media: def get_all(url): all_results = [] page = 1 posts_url = "{0}?per_page={1}&page={2}&order=asc".format(url, 10, pa
0
SmallJoe 1 month 0 Answers 0 views

Question
What would be library type to show only pdf documents in uploader? wp.media({ library: { type: 'pdf' }, }); I tried 'pdf' and 'application/pdf' but its not working, it shows all media.
0
Toniq 6 months 0 Answers 0 views