
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: global-classes-order.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace Elementor\Modules\GlobalClasses;

use Elementor\Core\Kits\Documents\Kit;
use Elementor\Modules\GlobalClasses\Concerns\Has_Kit_Dependency;
use Elementor\Modules\GlobalClasses\Concerns\Has_Preview_Context;

if ( ! defined( &#039;ABSPATH&#039; ) ) {
	exit;
}

class Global_Classes_Order {
	use Has_Kit_Dependency;
	use Has_Preview_Context;

	const META_KEY = &#039;_elementor_global_classes_order&#039;;
	const META_KEY_PREVIEW = &#039;_elementor_global_classes_order_preview&#039;;

	protected array $context_keys = [
		&#039;order&#039; =&gt; [
			&#039;frontend&#039; =&gt; self::META_KEY,
			&#039;preview&#039; =&gt; self::META_KEY_PREVIEW,
		],
	];

	private ?array $cache = null;

	private function __construct() {
	}

	public static function make( Kit $kit ): self {
		return ( new self() )-&gt;set_kit( $kit );
	}

	public function get_order(): array {
		$payload = $this-&gt;read_kit_meta_payload();

		return $payload[&#039;order&#039;] ?? [];
	}

	public function set_order( array $ids ): bool {
		$kit = $this-&gt;get_kit();

		if ( ! $kit ) {
			return false;
		}

		$payload = [
			&#039;order&#039; =&gt; array_values( $ids ),
		];

		$result = $kit-&gt;update_meta( $this-&gt;get_context_key( &#039;order&#039; ), $payload );
		$this-&gt;cache = null;

		return false !== $result;
	}

	public function remove_class_id( string $id ): bool {
		$order = $this-&gt;get_order();

		if ( ! in_array( $id, $order, true ) ) {
			return true;
		}

		$order = array_filter( $order, fn( $item ) =&gt; $item !== $id );

		return $this-&gt;set_order( $order );
	}

	private function read_kit_meta_payload(): array {
		if ( null !== $this-&gt;cache ) {
			return $this-&gt;cache;
		}

		$kit = $this-&gt;get_kit();

		if ( ! $kit ) {
			return [];
		}

		$payload = $kit-&gt;get_meta( $this-&gt;get_context_key( &#039;order&#039; ) );

		if ( $this-&gt;is_preview() &amp;&amp; empty( $payload ) ) {
			$payload = self::make( $this-&gt;get_kit() )-&gt;set_preview( false )-&gt;read_kit_meta_payload();
		}

		$this-&gt;cache = is_array( $payload ) ? $payload : [];

		return $this-&gt;cache;
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.mijikendarealestate.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-property-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-agent-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-posts-ube_content-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-type-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-status-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-feature-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-label-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-state-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-city-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-property-neighborhood-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-taxonomies-agency-1.xml</loc></sitemap><sitemap><loc>https://www.mijikendarealestate.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
