admin
5 months ago
assets
3 years ago
includes
3 months ago
views
5 months ago
index.php
5 months ago
robin-image-optimizer-premium.php
5 months ago
uninstall.php
5 months ago
uninstall.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | // if uninstall.php is not called by WordPress, die |
| 4 | if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { |
| 5 | die; |
| 6 | } |
| 7 | |
| 8 | // remove plugin options |
| 9 | global $wpdb; |
| 10 | |
| 11 | // Main plugin file, to have files included file deleting WebP folder |
| 12 | /* |
| 13 | require_once( dirname( __FILE__ ) . '/robin-image-optimizer.php' ); |
| 14 | |
| 15 | if ( class_exists( 'WRIO_WebP_Api' ) ) { |
| 16 | // Unlink WebP dir |
| 17 | $path = WRIO_WebP_Api::get_base_dir_path(); |
| 18 | |
| 19 | if ( file_exists( $path ) ) { |
| 20 | @unlink( $path ); |
| 21 | } |
| 22 | }*/ |
| 23 |