403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.15.4.251
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/khowordpress.com/wp-content/plugins/font-awesome/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/khowordpress.com/wp-content/plugins/font-awesome/includes/class-fontawesome-deactivator.php
<?php
namespace FortAwesome;

require_once trailingslashit( dirname( __FILE__ ) ) . 'class-fontawesome.php';
require_once trailingslashit( dirname( __FILE__ ) ) . 'class-fontawesome-api-settings.php';
require_once trailingslashit( dirname( __FILE__ ) ) . 'class-fontawesome-release-provider.php';

/**
 * Fired during plugin deactivation.
 *
 * This class defines all code necessary to run during the plugin's deactivation.
 */
class FontAwesome_Deactivator {

	/**
	 * Any caches or transients are removed when deactivating.
	 * To remove options data, use uninstall().
	 */
	public static function deactivate() {
		if ( is_multisite() && is_network_admin() ) {
			for_each_blog(
				function( $blog_id ) {
					self::delete_transients();
				}
			);
		} else {
			self::delete_transients();
		}
	}

	private static function delete_transients() {
		FontAwesome_Release_Provider::delete_last_used_release();
		delete_transient( FontAwesome::V3DEPRECATION_TRANSIENT );
	}

	/**
	 * Delete options data.
	 */
	public static function uninstall() {
		if ( is_multisite() && is_network_admin() ) {
			for_each_blog(
				function( $blog_id ) {
					self::delete_options();
				}
			);
		} else {
			self::delete_options();
		}
	}

	private static function delete_options() {
		delete_option( FontAwesome::OPTIONS_KEY );
		FontAwesome_Release_Provider::delete_option();
		delete_option( FontAwesome::CONFLICT_DETECTION_OPTIONS_KEY );
		delete_option( FontAwesome_API_Settings::OPTIONS_KEY );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit