Uname:Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.152
Web Server : Apache
System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : monpetu ( 144298)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/monpetu/www/ipprint/wp-content/plugins/woo-cart-abandonment-recovery/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/ipprint/wp-content/plugins/woo-cart-abandonment-recovery/uninstall.php
<?php
/**
 * Woocommerce Cart Abandonment Recovery
 * Unscheduling the events.
 *
 * @package Woocommerce-Cart-Abandonment-Recovery
 */

if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit;
}

global $wpdb;

wp_clear_scheduled_hook( 'cartflows_ca_update_order_status_action' );

$delete_data = get_option( 'wcf_ca_delete_plugin_data' );

if ( 'on' === $delete_data ) {

	$options = [
		'wcf_ca_status',
		'wcf_ca_gdpr_status',
		'wcf_ca_coupon_code_status',
		'wcf_ca_zapier_tracking_status',
		'wcf_ca_cut_off_time',
		'wcf_ca_from_name',
		'wcf_ca_from_email',
		'wcf_ca_reply_email',
		'wcf_ca_discount_type',
		'wcf_ca_coupon_amount',
		'wcf_ca_zapier_cart_abandoned_webhook',
		'wcf_ca_gdpr_message',
		'wcf_ca_coupon_expiry',
		'wcf_ca_coupon_expiry_unit',
		'wcf_ca_excludes_orders',
		'wcf_ca_delete_plugin_data',
		'wcf_ca_version',
		'wcf_ca_send_recovery_report_emails_to_admin',
		'wcf_ca_admin_email',
	];

	// Delete all options data.
	foreach ( $options as $index => $key ) {
		delete_option( $key );
	}
	//phpcs:disable WordPress.DB.DirectDatabaseQuery
	// Ignoring the direct query rule as we are dropping only our custom tables if exist.
	$wpdb->get_results( "DROP TABLE IF EXISTS {$wpdb->prefix}cartflows_ca_email_templates_meta" );

	$wpdb->get_results( "DROP TABLE IF EXISTS {$wpdb->prefix}cartflows_ca_email_history" );

	$wpdb->get_results( "DROP TABLE IF EXISTS {$wpdb->prefix}cartflows_ca_email_templates" );

	$wpdb->get_results( "DROP TABLE IF EXISTS {$wpdb->prefix}cartflows_ca_cart_abandonment" );
	//phpcs:disable WordPress.DB.DirectDatabaseQuery
}

Youez - 2016 - github.com/yon3zu
LinuXploit