| Server IP : 217.160.0.223 / Your IP : 216.73.216.72 Web Server : Apache System : Linux www 6.18.38-i1-ampere+ #1089 SMP Tue Jul 7 14:54:42 CEST 2026 aarch64 User : sws1073902667 ( 1073902667) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/www/public/wp-content/plugins/broken-link-checker/ |
Upload File : |
<?php
/**
* @author Janis Elsts
* @copyright 2010
*
* The terrifying uninstallation script.
*/
if ( defined( 'ABSPATH' ) && defined( 'WP_UNINSTALL_PLUGIN' ) ) {
// Remove V2 options.
delete_option( 'blc_settings' );
delete_option( 'wpmudev_blc_reviewed' );
// Remove the plugin's settings & installation log.
delete_option( 'wsblc_options' );
delete_option( 'blc_activation_enabled' );
delete_option( 'blc_installation_log' );
// Remove the database tables.
$mywpdb = $GLOBALS['wpdb'];
if ( isset( $mywpdb ) ) {
// EXTERMINATE!
$mywpdb->query( "DROP TABLE IF EXISTS {$mywpdb->prefix}blc_linkdata, {$mywpdb->prefix}blc_postdata, {$mywpdb->prefix}blc_instances, {$mywpdb->prefix}blc_links, {$mywpdb->prefix}blc_synch, {$mywpdb->prefix}blc_filters" );
}
}