wp.media libary pdf type
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
10 months
2022-04-03T03:10:04-05:00
2022-04-03T03:10:04-05:00 0 Answers
0 views
0
Leave an answer