[], 'errors' => [ 'no_file_path' => [], 'no_backup' => [], ], ]; } /** * Get the context data. * * @since 1.9 * * @return array { * The formated data. * * @type string $count-optimized Number of media optimized. * @type string $count-errors Number of media having an optimization error, with a link to the page listing the optimization errors. * @type string $optimized-size Optimized filesize. * @type string $original-size Original filesize. * } */ public function get_context_data() { $data = [ 'count-optimized' => 0, 'count-errors' => 0, 'optimized-size' => 0, 'original-size' => 0, 'errors_url' => get_imagify_admin_url( 'folder-errors', 'noop' ), ]; return $this->format_context_data( $data ); } }