| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | * @param array $arguments Positional argument. |
| 16 | 16 | * @param array $options Optional arguments. |
| 17 | 17 | */ |
| 18 | 18 | public function __invoke( $arguments, $options ) { |
| 19 | - Bulk::get_instance()->run_generate_nextgen( $arguments ); | |
| 19 | + Bulk::get_instance()->run_generate_nextgen( $arguments, imagify_nextgen_images_formats() ); | |
| 20 | 20 | |
| 21 | 21 | \WP_CLI::log( 'Imagify missing next-gen images generation triggered.' ); |
| 22 | 22 | } |
| 23 | 23 | |