SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > essential-blocks > > includes > Utils


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/essential-blocks//includes/Utils

NameTypeSizeLast ModifiedActions
CSSParser.php File 9219 bytes November 07 2024 12:12:30.
Enqueue.php File 4677 bytes February 26 2025 16:22:10.
Helper.php File 25527 bytes January 12 2025 17:13:54.
HttpRequest.php File 2147 bytes August 09 2023 14:57:00.
Installer.php File 3341 bytes January 12 2025 17:13:54.
Migrator.php File 743 bytes August 09 2023 14:57:00.
QueryHelper.php File 7360 bytes October 02 2024 10:36:24.
Settings.php File 3368 bytes May 08 2025 15:01:12.
SvgSanitizer.php File 2525 bytes May 19 2025 15:07:08.
TemplateHelpers.php File 2160 bytes August 29 2023 10:12:00.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/essential-blocks//includes/Utils/Migrator.php

<?php
namespace EssentialBlocks\Utils;

use EssentialBlocks\Traits\HasSingletone;

class Migrator {
	use HasSingletone;

	public function init() {
		/**
		 * For 1.3.1
		 */
		$this->migration_options_db();
	}

	public function migration_options_db() {
		$opt_db_migration = get_option( 'eb_opt_migration', false );
		if ( version_compare( ESSENTIAL_BLOCKS_VERSION, '1.3.1', '==' ) && $opt_db_migration === false ) {
			update_option( 'eb_opt_migration', true );
			$all_blocks = get_option( 'essential_all_blocks', array() );
			$blocks     = array();
			if ( ! empty( $all_blocks ) ) {
				foreach ( $all_blocks as $block ) {
					$blocks[ $block['value'] ] = $block;
				}
			}
			update_option( 'essential_all_blocks', $blocks );
		}
	}
}

SILENT KILLER Tool