| Server IP : 109.234.162.214 / Your IP : 216.73.216.112 Web Server : Apache System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64 User : carpe ( 1178) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/carpe/./portfolio.jules.renauld.mmi-velizy.fr/wp-content/plugins/a3-lazy-load/ |
Upload File : |
<?php
/**
* a3 Lazy Load Uninstall
*
* Uninstalling deletes options, tables, and pages.
*
*/
if( ! defined( 'WP_UNINSTALL_PLUGIN' ) )
exit();
global $wpdb;
$plugin_key = 'a3_lazy_load';
// Delete Google Font
delete_option( $plugin_key . '_google_api_key' . '_enable' );
delete_transient( $plugin_key . '_google_api_key' . '_status' );
delete_option( $plugin_key . '_google_font_list' );
if ( get_option( $plugin_key . '_clean_on_deletion' ) == 1 ) {
delete_option( $plugin_key . '_google_api_key' );
delete_option( $plugin_key . '_toggle_box_open' );
delete_option( $plugin_key . '-custom-boxes' );
delete_metadata( 'user', 0, $plugin_key . '-' . 'plugin_framework_global_box' . '-' . 'opened', '', true );
delete_option( 'a3_lazy_load_global_settings' );
delete_option( $plugin_key . '_clean_on_deletion' );
}