Files
dostavka_vodi/wp-content/plugins/!robin-image-optimizer/libs/addons/uninstall.php
User A0264400 a766acdc90 first commit
2026-04-01 23:20:16 +03:00

23 lines
459 B
PHP

<?php
// if uninstall.php is not called by WordPress, die
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
die;
}
// remove plugin options
global $wpdb;
// Main plugin file, to have files included file deleting WebP folder
/*
require_once( dirname( __FILE__ ) . '/robin-image-optimizer.php' );
if ( class_exists( 'WRIO_WebP_Api' ) ) {
// Unlink WebP dir
$path = WRIO_WebP_Api::get_base_dir_path();
if ( file_exists( $path ) ) {
@unlink( $path );
}
}*/