New answers tagged

0 votes

Bulk image importing from folders

Assuming you have upload images in wp-content/uploads/some-image-dir. you can iterate content with scandir or glob and pass the file to wp_insert_attachment with appropriate arguments adding those ...
Kudratullah's user avatar

Top 50 recent answers are included