PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | classes/Plugin.php +2 -1 2.2.8 → trunk View file →
@@ -4,9 +4,9 @@
4 4 namespace Imagify;
5 5
6 6 use Imagify\Admin\AdminBar;
7 7 use Imagify\Bulk\Bulk;
8 -use Imagify\CLI\{BulkOptimizeCommand, GenerateMissingNextgenCommand};
8 +use Imagify\CLI\{BulkOptimizeCommand, GenerateMissingNextgenCommand, RestoreCommand};
9 9 use Imagify\Dependencies\League\Container\Container;
10 10 use Imagify\Dependencies\League\Container\ServiceProvider\ServiceProviderInterface;
11 11 use Imagify\EventManagement\{EventManager, SubscriberInterface};
12 12 use Imagify\Notices\Notices;
@@ -131,8 +131,9 @@
131 131
132 132 add_action( 'init', [ $this, 'maybe_activate' ] );
133 133
134 134 imagify_add_command( new BulkOptimizeCommand() );
135 + imagify_add_command( new RestoreCommand() );
135 136 imagify_add_command( new GenerateMissingNextgenCommand() );
136 137
137 138 foreach ( $providers as $service_provider ) {
138 139 $provider_instance = new $service_provider();