| Server IP : 172.67.134.116 / Your IP : 216.73.217.68 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/public_html/wp-content/plugins/analogwp-templates/ |
Upload File : |
<?php
/**
* Uninstall AnalogWP.
*
* @package AnalogWP
*/
// Exit if accessed directly.
defined( 'WP_UNINSTALL_PLUGIN' ) || exit;
$options = get_option( 'ang_options' );
if ( is_array( $options ) && isset( $options['remove_on_uninstall'] ) && true === $options['remove_on_uninstall'] ) {
delete_option( 'ang_options' );
delete_option( '_ang_import_history' );
delete_option( 'style_kits_previous_db_version' );
delete_option( 'style_kits_db_version' );
delete_option( 'analog_onboarding' );
delete_option( 'ran_onboarding' );
}
delete_option( '_ang_installed_time' );
delete_transient( 'ang_license_message' );
delete_transient( 'analogwp_template_info' );
wp_clear_scheduled_hook( 'analog/tracker/send_event' );
if ( class_exists( '\Elementor\Plugin' ) ) {
\Elementor\Plugin::$instance->files_manager->clear_cache();
}