PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
plugins
/
file-manager-advanced
/
vendor
/
freemius
/
includes
<?php /** * @package Freemius * @copyright Copyright (c) 2025, Freemius, Inc. * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 * @since 2.12.2 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Class FS_Hook_Snapshot * * This class allows you to take a snapshot of the current actions attached to a WordPress hook, remove them, and restore them later. */ class FS_Hook_Snapshot { private $removed_actions = array(); /** * Remove all actions from a given hook and store them for later restoration. */ public function remove( $hook ) { global $wp_filter; if ( ! empty( $wp_filter ) && isset( $wp_filter[ $hook ] ) ) { $this->removed_actions[ $hook ] = $wp_filter[ $hook ]; unset( $wp_filter[ $hook ] ); } } /** * Restore previously removed actions for a given hook. */ public function restore( $hook ) { global $wp_filter; if ( ! empty( $wp_filter ) && isset( $this->removed_actions[ $hook ] ) ) { $wp_filter[ $hook ] = $this->removed_actions[ $hook ]; unset( $this->removed_actions[ $hook ] ); } } }
[+]
entities
[+]
customizer
[-] fs-html-escaping-functions.php
[edit]
[-] class-freemius.php
[edit]
[-] fs-core-functions.php
[edit]
[-] fs-essential-functions.php
[edit]
[-] class-fs-security.php
[edit]
[-] fs-plugin-info-dialog.php
[edit]
[-] index.php
[edit]
[-] class-fs-user-lock.php
[edit]
[+]
managers
[-] class-freemius-abstract.php
[edit]
[-] class-fs-lock.php
[edit]
[-] class-fs-admin-notices.php
[edit]
[-] class-fs-garbage-collector.php
[edit]
[-] l10n.php
[edit]
[-] class-fs-hook-snapshot.php
[edit]
[-] class-fs-storage.php
[edit]
[+]
supplements
[-] class-fs-logger.php
[edit]
[-] class-fs-api.php
[edit]
[-] class-fs-options.php
[edit]
[+]
sdk
[-] class-fs-plugin-updater.php
[edit]
[+]
..
[+]
debug