Server IP : 184.154.167.98 / Your IP : 13.58.61.176 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/www/wp-content/plugins/easy-accordion-free/ |
Upload File : |
<?php defined( 'WP_UNINSTALL_PLUGIN' ) || exit; // Load LCP file. require_once 'plugin-main.php'; $settings = get_option( 'sp_eap_settings' ); if ( true === ( $settings['eap_data_remove'] ) ) { // Delete Accordions and shortcodes. global $wpdb; $wpdb->query( "DELETE FROM wp_posts WHERE post_type = 'sp_easy_accordion'" ); $wpdb->query( 'DELETE FROM wp_postmeta WHERE post_id NOT IN (SELECT id FROM wp_posts)' ); $wpdb->query( 'DELETE FROM wp_term_relationships WHERE object_id NOT IN (SELECT id FROM wp_posts)' ); // Remove option. delete_option( 'sp_eap_settings' ); delete_option( 'sp_eafree_review_notice_dismiss' ); delete_option( '_transient_timeout_sp-eap-framework-transient' ); delete_option( '_transient_sp-eap-framework-transient' ); delete_option( '_transient_timeout_eapro-metabox-transient' ); delete_option( '_transient_eapro-metabox-transient' ); // Remove options in Multisite. delete_site_option( 'sp_eap_settings' ); delete_site_option( 'sp_eafree_review_notice_dismiss' ); delete_site_option( '_transient_timeout_spf-eap-framework-transient' ); delete_site_option( '_transient_spf-eap-framework-transient' ); delete_site_option( '_transient_timeout_eapro-metabox-transient' ); delete_site_option( '_transient_eapro-metabox-transient' ); }