PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/footcrew.com/wp-content/plugins/WP-AMP/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/footcrew.com/wp-content/plugins/WP-AMP/uninstall.php

<?php

/**
 * The code in this file runs when a plugin is uninstalled from the WordPress dashboard.
 */
/* If uninstall is not called from WordPress exit. */
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
    exit();
}
global $wpdb, $license_box_api;

require_once plugin_dir_path( __FILE__ ) . 'wp-amp.php';
include_once( 'includes/class-amphtml-license.php' );
/* Place uninstall code below here. */

$license_code = get_option( 'amphtml_license_code' );
$license_name = get_option( 'amphtml_license_name' );
$result       = $license_box_api->deactivate_license( $license_code, $license_name );

if ( empty( $result[ 'status' ] ) ) {
    add_settings_error( 'license_message', 'settings_updated', $result[ 'message' ], 'error' );
} else {
    add_settings_error( 'license_message', 'settings_updated', $result[ 'message' ], 'updated' );
    delete_option( 'amphtml_license_true' );
}

$prefix = 'amphtml';

// Delete options
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '{$prefix}%';" );