WP CLI Support for bulk convert
-
Hi, thanks for an amazing plugin! I checked the code and I think it should be pretty straightforward to add basic WP CLI bulk convert support:
$config = Config::loadConfigAndFix(); $arr = BulkConvert::getList($config); foreach ( $arr as $group ) { foreach ( $group['files'] as $file ) { Convert::convertFile(trailingslashit($group['root']). $file); } }
Is there anything wrong with this? I’ll be happy to do this properly and submit a pull request if interested.
Thanks!
Václav
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘WP CLI Support for bulk convert’ is closed to new replies.