| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/uninstall.php.tar |
home/xbodynamge/crosstraining/wp-content/plugins/wpforms-lite/uninstall.php 0000604 00000005067 15112154506 0023453 0 ustar 00 <?php
/**
* Uninstalls WPForms.
*
* Removes:
* - Entries table
* - Entry Meta table
* - Entry fields table
* - Form Preview page
* - wpforms_log post type posts and post_meta
* - wpforms post type posts and post_meta
* - WPForms settings/options
* - WPForms Uploads
*
* @package WPForms
* @author WPForms
* @since 1.4.5
* @license GPL-2.0+
* @copyright Copyright (c) 2018, WPForms LLC
*/
// Exit if accessed directly.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Confirm user has decided to remove all data, otherwise stop.
$settings = get_option( 'wpforms_settings', array() );
if ( empty( $settings['uninstall-data'] ) ) {
return;
}
global $wpdb;
// Delete entries table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entries' );
// Delete entry meta table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_meta' );
// Delete entry fields table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_fields' );
// Delete Preview page.
$preview = get_option( 'wpforms_preview_page', false );
if ( ! empty( $preview ) ) {
wp_delete_post( $preview, true );
}
// Delete wpforms and wpforms_log post type posts/post_meta.
$posts = get_posts( array(
'post_type' => array( 'wpforms_log', 'wpforms' ),
'post_status' => 'any',
'numberposts' => -1,
'fields' => 'ids',
) );
if ( $posts ) {
foreach ( $posts as $post ) {
wp_delete_post( $post, true );
}
}
// Delete plugin settings.
delete_option( 'wpforms_version' );
delete_option( 'wpforms_providers' );
delete_option( 'wpforms_license' );
delete_option( 'wpforms_license_updates' );
delete_option( 'wpforms_settings' );
delete_option( 'wpforms_version_upgraded_from' );
delete_option( 'wpforms_preview_page' );
delete_option( 'wpforms_zapier_apikey' );
delete_option( 'wpforms_activated' );
delete_option( 'wpforms_review' );
delete_option( 'wpforms_imported' );
// Remove any transients we've left behind.
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_site\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_transient\_timeout\_wpforms\_%'" );
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_site\_transient\_timeout\_wpforms\_%'" );
// Remove uploaded files.
$uploads_directory = wp_upload_dir();
if ( ! empty( $uploads_directory['error'] ) ) {
return;
}
global $wp_filesystem;
$wp_filesystem->rmdir( $uploads_directory['basedir'] . '/wpforms/', true );
home/xbodynamge/dev/wp-content/plugins/all-in-one-seo-pack/uninstall.php 0000644 00000003165 15113144541 0022347 0 ustar 00 <?php
/**
* Uninstall AIOSEO
*
* @since 4.0.0
*/
// Exit if accessed directly.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Load plugin file.
require_once 'all_in_one_seo_pack.php';
// In case any of the versions - Lite or Pro - is still activated we bail.
// Meaning, if you delete Lite while the Pro is activated we bail, and vice-versa.
if (
defined( 'AIOSEO_FILE' ) &&
is_plugin_active( plugin_basename( AIOSEO_FILE ) )
) {
return;
}
// Disable Action Scheduler Queue Runner.
if ( class_exists( 'ActionScheduler_QueueRunner' ) ) {
ActionScheduler_QueueRunner::instance()->unhook_dispatch_async_request();
}
// Drop our custom tables and data.
aioseo()->uninstall->dropData();
// Remove translation files.
global $wp_filesystem; // phpcs:ignore Squiz.NamingConventions.ValidVariableName
$languages_directory = defined( 'WP_LANG_DIR' ) ? trailingslashit( WP_LANG_DIR ) : trailingslashit( WP_CONTENT_DIR ) . 'languages/'; // phpcs:ignore Squiz.NamingConventions.ValidVariableName
$translations = glob( wp_normalize_path( $languages_directory . 'plugins/aioseo-*' ) ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
if ( ! empty( $translations ) ) {
foreach ( $translations as $file ) {
$wp_filesystem->delete( $file ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
}
}
$translations = glob( wp_normalize_path( $languages_directory . 'plugins/all-in-one-seo-*' ) ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
if ( ! empty( $translations ) ) {
foreach ( $translations as $file ) {
$wp_filesystem->delete( $file ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
}
} home/xbodynamge/lebauwcentre/wp-content/plugins/themeisle-companion/uninstall.php 0000644 00000002020 15113172436 0024547 0 ustar 00 <?php
/**
* Fired when the plugin is uninstalled.
*
* When populating this file, consider the following flow
* of control:
*
* - This method should be static
* - Check if the $_REQUEST content actually is the plugin name
* - Run an admin referrer check to make sure it goes through authentication
* - Verify the output of $_GET makes sense
* - Repeat with other user roles. Best directly by using the links/query string parameters.
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
*
* This file may be updated more in future version of the Boilerplate; however, this is the
* general skeleton and outline for how the file should work.
*
* For more information, see the following discussion:
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
*/
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
home/xbodynamge/dev/wp-content/plugins/themeisle-companion/uninstall.php 0000644 00000002020 15113270462 0022643 0 ustar 00 <?php
/**
* Fired when the plugin is uninstalled.
*
* When populating this file, consider the following flow
* of control:
*
* - This method should be static
* - Check if the $_REQUEST content actually is the plugin name
* - Run an admin referrer check to make sure it goes through authentication
* - Verify the output of $_GET makes sense
* - Repeat with other user roles. Best directly by using the links/query string parameters.
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
*
* This file may be updated more in future version of the Boilerplate; however, this is the
* general skeleton and outline for how the file should work.
*
* For more information, see the following discussion:
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
*/
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
home/xbodynamge/namtation/wp-content/plugins/all-in-one-seo-pack/uninstall.php 0000644 00000003165 15113375344 0023572 0 ustar 00 <?php
/**
* Uninstall AIOSEO
*
* @since 4.0.0
*/
// Exit if accessed directly.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Load plugin file.
require_once 'all_in_one_seo_pack.php';
// In case any of the versions - Lite or Pro - is still activated we bail.
// Meaning, if you delete Lite while the Pro is activated we bail, and vice-versa.
if (
defined( 'AIOSEO_FILE' ) &&
is_plugin_active( plugin_basename( AIOSEO_FILE ) )
) {
return;
}
// Disable Action Scheduler Queue Runner.
if ( class_exists( 'ActionScheduler_QueueRunner' ) ) {
ActionScheduler_QueueRunner::instance()->unhook_dispatch_async_request();
}
// Drop our custom tables and data.
aioseo()->uninstall->dropData();
// Remove translation files.
global $wp_filesystem; // phpcs:ignore Squiz.NamingConventions.ValidVariableName
$languages_directory = defined( 'WP_LANG_DIR' ) ? trailingslashit( WP_LANG_DIR ) : trailingslashit( WP_CONTENT_DIR ) . 'languages/'; // phpcs:ignore Squiz.NamingConventions.ValidVariableName
$translations = glob( wp_normalize_path( $languages_directory . 'plugins/aioseo-*' ) ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
if ( ! empty( $translations ) ) {
foreach ( $translations as $file ) {
$wp_filesystem->delete( $file ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
}
}
$translations = glob( wp_normalize_path( $languages_directory . 'plugins/all-in-one-seo-*' ) ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
if ( ! empty( $translations ) ) {
foreach ( $translations as $file ) {
$wp_filesystem->delete( $file ); // phpcs:ignore Squiz.NamingConventions.ValidVariableName
}
} home/xbodynamge/www/wp-content/plugins/themeisle-companion/uninstall.php 0000644 00000002020 15113443017 0022707 0 ustar 00 <?php
/**
* Fired when the plugin is uninstalled.
*
* When populating this file, consider the following flow
* of control:
*
* - This method should be static
* - Check if the $_REQUEST content actually is the plugin name
* - Run an admin referrer check to make sure it goes through authentication
* - Verify the output of $_GET makes sense
* - Repeat with other user roles. Best directly by using the links/query string parameters.
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
*
* This file may be updated more in future version of the Boilerplate; however, this is the
* general skeleton and outline for how the file should work.
*
* For more information, see the following discussion:
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
*/
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
home/xbodynamge/namtation/wp-content/plugins/themeisle-companion/uninstall.php 0000644 00000002020 15113523564 0024063 0 ustar 00 <?php
/**
* Fired when the plugin is uninstalled.
*
* When populating this file, consider the following flow
* of control:
*
* - This method should be static
* - Check if the $_REQUEST content actually is the plugin name
* - Run an admin referrer check to make sure it goes through authentication
* - Verify the output of $_GET makes sense
* - Repeat with other user roles. Best directly by using the links/query string parameters.
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
*
* This file may be updated more in future version of the Boilerplate; however, this is the
* general skeleton and outline for how the file should work.
*
* For more information, see the following discussion:
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
*/
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
home/xbodynamge/dev/wp-content/plugins/wpforms-lite/uninstall.php 0000644 00000005067 15114273347 0021357 0 ustar 00 <?php
/**
* Uninstalls WPForms.
*
* Removes:
* - Entries table
* - Entry Meta table
* - Entry fields table
* - Form Preview page
* - wpforms_log post type posts and post_meta
* - wpforms post type posts and post_meta
* - WPForms settings/options
* - WPForms Uploads
*
* @package WPForms
* @author WPForms
* @since 1.4.5
* @license GPL-2.0+
* @copyright Copyright (c) 2018, WPForms LLC
*/
// Exit if accessed directly.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Confirm user has decided to remove all data, otherwise stop.
$settings = get_option( 'wpforms_settings', array() );
if ( empty( $settings['uninstall-data'] ) ) {
return;
}
global $wpdb;
// Delete entries table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entries' );
// Delete entry meta table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_meta' );
// Delete entry fields table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_fields' );
// Delete Preview page.
$preview = get_option( 'wpforms_preview_page', false );
if ( ! empty( $preview ) ) {
wp_delete_post( $preview, true );
}
// Delete wpforms and wpforms_log post type posts/post_meta.
$posts = get_posts( array(
'post_type' => array( 'wpforms_log', 'wpforms' ),
'post_status' => 'any',
'numberposts' => -1,
'fields' => 'ids',
) );
if ( $posts ) {
foreach ( $posts as $post ) {
wp_delete_post( $post, true );
}
}
// Delete plugin settings.
delete_option( 'wpforms_version' );
delete_option( 'wpforms_providers' );
delete_option( 'wpforms_license' );
delete_option( 'wpforms_license_updates' );
delete_option( 'wpforms_settings' );
delete_option( 'wpforms_version_upgraded_from' );
delete_option( 'wpforms_preview_page' );
delete_option( 'wpforms_zapier_apikey' );
delete_option( 'wpforms_activated' );
delete_option( 'wpforms_review' );
delete_option( 'wpforms_imported' );
// Remove any transients we've left behind.
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_site\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_transient\_timeout\_wpforms\_%'" );
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '\_site\_transient\_timeout\_wpforms\_%'" );
// Remove uploaded files.
$uploads_directory = wp_upload_dir();
if ( ! empty( $uploads_directory['error'] ) ) {
return;
}
global $wp_filesystem;
$wp_filesystem->rmdir( $uploads_directory['basedir'] . '/wpforms/', true );
home/xbodynamge/namtation/wp-content/plugins/wpforms-lite/uninstall.php 0000644 00000005341 15114504260 0022555 0 ustar 00 <?php
/**
* Uninstalls WPForms.
*
* Removes:
* - Entries table
* - Entry Meta table
* - Entry fields table
* - Form Preview page
* - wpforms_log post type posts and post_meta
* - wpforms post type posts and post_meta
* - WPForms settings/options
* - WPForms user meta
* - WPForms term meta
* - WPForms Uploads
*
* @package WPForms
* @author WPForms
* @since 1.4.5
* @license GPL-2.0+
* @copyright Copyright (c) 2018, WPForms LLC
*
* @var WP_Filesystem_Base $wp_filesystem
*/
// phpcs:disable WordPress.DB.DirectDatabaseQuery
// Exit if accessed directly.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Confirm user has decided to remove all data, otherwise stop.
$settings = get_option( 'wpforms_settings', array() );
if ( empty( $settings['uninstall-data'] ) ) {
return;
}
global $wpdb;
// Delete entries table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entries' );
// Delete entry meta table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_meta' );
// Delete entry fields table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_fields' );
// Delete Preview page.
$preview_page = get_option( 'wpforms_preview_page', false );
if ( ! empty( $preview_page ) ) {
wp_delete_post( $preview_page, true );
}
// Delete wpforms and wpforms_log post type posts/post_meta.
$wpforms_posts = get_posts(
array(
'post_type' => array( 'wpforms_log', 'wpforms' ),
'post_status' => 'any',
'numberposts' => -1,
'fields' => 'ids',
)
);
if ( $wpforms_posts ) {
foreach ( $wpforms_posts as $wpforms_post ) {
wp_delete_post( $wpforms_post, true );
}
}
// Delete plugin settings.
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'wpforms\_%'" );
// Delete plugin user meta.
$wpdb->query( "DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE 'wpforms\_%'" );
// Delete plugin term meta.
$wpdb->query( "DELETE FROM {$wpdb->termmeta} WHERE meta_key LIKE 'wpforms\_%'" );
// Remove any transients we've left behind.
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_timeout\_wpforms\_%'" );
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_timeout\_wpforms\_%'" );
// Remove plugin cron jobs.
wp_clear_scheduled_hook( 'wpforms_email_summaries_cron' );
// Remove uploaded files.
$uploads_directory = wp_upload_dir();
if ( ! empty( $uploads_directory['error'] ) ) {
return;
}
global $wp_filesystem;
$wp_filesystem->rmdir( $uploads_directory['basedir'] . '/wpforms/', true );
home/xbodynamge/lebauwcentre/wp-content/plugins/wpforms-lite/uninstall.php 0000644 00000005341 15114701511 0023241 0 ustar 00 <?php
/**
* Uninstalls WPForms.
*
* Removes:
* - Entries table
* - Entry Meta table
* - Entry fields table
* - Form Preview page
* - wpforms_log post type posts and post_meta
* - wpforms post type posts and post_meta
* - WPForms settings/options
* - WPForms user meta
* - WPForms term meta
* - WPForms Uploads
*
* @package WPForms
* @author WPForms
* @since 1.4.5
* @license GPL-2.0+
* @copyright Copyright (c) 2018, WPForms LLC
*
* @var WP_Filesystem_Base $wp_filesystem
*/
// phpcs:disable WordPress.DB.DirectDatabaseQuery
// Exit if accessed directly.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Confirm user has decided to remove all data, otherwise stop.
$settings = get_option( 'wpforms_settings', array() );
if ( empty( $settings['uninstall-data'] ) ) {
return;
}
global $wpdb;
// Delete entries table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entries' );
// Delete entry meta table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_meta' );
// Delete entry fields table.
$wpdb->query( 'DROP TABLE IF EXISTS ' . $wpdb->prefix . 'wpforms_entry_fields' );
// Delete Preview page.
$preview_page = get_option( 'wpforms_preview_page', false );
if ( ! empty( $preview_page ) ) {
wp_delete_post( $preview_page, true );
}
// Delete wpforms and wpforms_log post type posts/post_meta.
$wpforms_posts = get_posts(
array(
'post_type' => array( 'wpforms_log', 'wpforms' ),
'post_status' => 'any',
'numberposts' => -1,
'fields' => 'ids',
)
);
if ( $wpforms_posts ) {
foreach ( $wpforms_posts as $wpforms_post ) {
wp_delete_post( $wpforms_post, true );
}
}
// Delete plugin settings.
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'wpforms\_%'" );
// Delete plugin user meta.
$wpdb->query( "DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE 'wpforms\_%'" );
// Delete plugin term meta.
$wpdb->query( "DELETE FROM {$wpdb->termmeta} WHERE meta_key LIKE 'wpforms\_%'" );
// Remove any transients we've left behind.
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_wpforms\_%'" );
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_timeout\_wpforms\_%'" );
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_timeout\_wpforms\_%'" );
// Remove plugin cron jobs.
wp_clear_scheduled_hook( 'wpforms_email_summaries_cron' );
// Remove uploaded files.
$uploads_directory = wp_upload_dir();
if ( ! empty( $uploads_directory['error'] ) ) {
return;
}
global $wp_filesystem;
$wp_filesystem->rmdir( $uploads_directory['basedir'] . '/wpforms/', true );
home/xbodynamge/crosstraining/wp-content/plugins/themeisle-companion/uninstall.php 0000604 00000002020 15115011136 0024737 0 ustar 00 <?php
/**
* Fired when the plugin is uninstalled.
*
* When populating this file, consider the following flow
* of control:
*
* - This method should be static
* - Check if the $_REQUEST content actually is the plugin name
* - Run an admin referrer check to make sure it goes through authentication
* - Verify the output of $_GET makes sense
* - Repeat with other user roles. Best directly by using the links/query string parameters.
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
*
* This file may be updated more in future version of the Boilerplate; however, this is the
* general skeleton and outline for how the file should work.
*
* For more information, see the following discussion:
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
*
* @link https://themeisle.com
* @since 1.0.0
*
* @package Orbit_Fox
*/
// If uninstall not called from WordPress, then exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}