403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.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 : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversion/wp-content/plugins/unyson/framework/extensions/backups/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/unyson/framework/extensions/backups/hooks.php
<?php if (!defined('FW')) die('Forbidden');

/**
 * @param bool $exclude
 * @param string $option_name
 * @param bool $is_full_backup
 *
 * @return bool
 */
function _filter_fw_ext_backups_db_export_exclude_option($exclude, $option_name, $is_full_backup) {
	foreach (array(
		'_site_transient_',
		'_transient_'
	) as $option_prefix) {
		if (substr($option_name, 0, strlen($option_prefix)) === $option_prefix) {
			return true;
		}
	}

	return $exclude;
}
add_filter('fw_ext_backups_db_export_exclude_option', '_filter_fw_ext_backups_db_export_exclude_option', 10, 3);

/**
 * Other extensions options
 */
{
	function _filter_fw_ext_backups_db_export_exclude_other_extensions_options($exclude, $option_name, $is_full_backup) {
		if (!$is_full_backup) {
			if ($option_name === 'fw_ext_settings_options:mailer') {
				return true;
			}
		}

		return $exclude;
	}
	add_filter('fw_ext_backups_db_export_exclude_option',
		'_filter_fw_ext_backups_db_export_exclude_other_extensions_options', 10, 3
	);

	function _filter_fw_ext_backups_db_restore_keep_other_extensions_options($options, $is_full) {
		if (!$is_full) {
			$options[ 'fw_ext_settings_options:mailer' ] = true;
		}

		return $options;
	}
	add_filter('fw_ext_backups_db_restore_keep_options',
		'_filter_fw_ext_backups_db_restore_keep_other_extensions_options', 10, 2
	);
}

Youez - 2016 - github.com/yon3zu
LinuXploit