HEX
HEX
Server: Apache/2
System: Linux 31.186.11.143 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: tek178om (4688)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/tek178om/domains/teknocut.com/public_html/wp-content/plugins/astra-pro-sites/uninstall.php
<?php
/**
 * Astra Sites Uninstall
 *
 * @package Astra Sites
 */

defined( 'WP_UNINSTALL_PLUGIN' ) || exit;

$site_pages = get_option( 'astra-sites-requests' );
if ( ! empty( $site_pages ) ) {

	// Delete all sites.
	for ( $site_page = 1; $site_page <= $site_pages; $site_page++ ) {
		delete_site_option( 'astra-sites-and-pages-page-' . $site_page );
	}

	// Delete all pages count.
	delete_site_option( 'astra-sites-requests' );
}

delete_option( 'astra_sites_recent_import_log_file' );
delete_option( 'astra_sites_import_data' );
delete_option( 'astra_sites_wpforms_ids_mapping' );
delete_option( '_astra_sites_old_customizer_data' );
delete_option( '_astra_sites_old_site_options' );
delete_option( '_astra_sites_old_widgets_data' );
delete_option( 'astra_sites_settings' );
delete_option( 'astra_parent_page_url' );
delete_option( 'astra-sites-favorites' );
delete_site_option( 'astra-sites-fresh-site' );
delete_site_option( 'astra-sites-batch-status' );
delete_site_option( 'astra-sites-batch-status-string' );
delete_site_option( 'astra-sites-all-site-categories' );
delete_site_option( 'astra-sites-all-site-categories-and-tags' );