Support » Plugin: WP Retina 2x » WP CLI

  • Resolved kaktarua


    Can I use WP CLI command to generate Retina images? I have around 100K images and generating retina is a night mare

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow


    Unfortunately not… but I don’t think plugins that would work, and if it could, that would be a lot of work.

    You can have a look at the api.php. There is a wr2x_generate_images function. If from WP-CLI you can somehow loop through your Media Library and send each media to that function, then it will work 🙂 But really not sure if that’s possible, as the WP-CLI would need to load the WordPress ecosystem.

Viewing 1 replies (of 1 total)
  • The topic ‘WP CLI’ is closed to new replies.