Skip to content

Commit bf19937

Browse files
feat: add backup class
1 parent d95cb94 commit bf19937

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

src/class-tiny-backup.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
/*
3+
* Tiny Compress Images - WordPress plugin.
4+
* Copyright (C) 2015-2018 Tinify B.V.
5+
*
6+
* This program is free software; you can redistribute it and/or modify it
7+
* under the terms of the GNU General Public License as published by the Free
8+
* Software Foundation; either version 2 of the License, or (at your option)
9+
* any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful, but WITHOUT
12+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14+
* more details.
15+
*
16+
* You should have received a copy of the GNU General Public License along
17+
* with this program; if not, write to the Free Software Foundation, Inc., 51
18+
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19+
*/
20+
21+
/*
22+
* Tiny_Backup provides functionality for backing up images before compression.
23+
* When enabled, back-up will add hooks to the `tinify_before_compress` and
24+
* the `tinify_before_bulk_compress` filters.
25+
*
26+
*/
27+
class Tiny_Backup {
28+
29+
// add option for updraft plus
30+
// add option for local backup
31+
}

0 commit comments

Comments
 (0)