I am hoping someone has some insight into how to create a gallery using WP CLI. Or at the very least get the IDs for the images imported using "wp media import".

I've tried using --porcelain but it never came out in a way i could use or i'm just not using it properly to extract the IDs of imported images.

Any nudge in the right direct would be greatly appreciated!

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.