Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there any Code to import all images found in a folder and its sub-folder and import all images into media library ?

for example - i want add my theme sub-folder's images imported into wordpress media library to use them via Add Media button ?

Is it possible ?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.