Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 18.219.218.77
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : model.php
<?php

namespace Elementor\Core\Settings\General;

use Elementor\Plugin;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * This file is deprecated, use Plugin::$instance->kits_manager->get_active_kit_for_frontend() instead.
 * it changed to support call like this: Manager::get_settings_managers( 'general' )->get_model()->get_settings( 'elementor_default_generic_fonts' )
 *
 * @deprecated 3.0.0 Use `Plugin::$instance->kits_manager->get_active_kit_for_frontend()` instead.
 */

class Model {

	/**
	 * @deprecated 3.0.0
	 */
	public function get_name() {
		return 'general-deprecated';
	}

	/**
	 * @deprecated 3.0.0
	 */
	public function get_panel_page_settings() {
		return [];
	}

	/**
	 * @deprecated 3.0.0
	 */
	public function get_tabs_controls() {
		return [];
	}

	/**
	 * @deprecated 3.0.0
	 */
	public function get_frontend_settings() {
		return [];
	}

	/**
	 * @deprecated 3.0.0
	 */
	public function get_controls() {
		return [];
	}

	/**
	 * @deprecated 3.0.0
	 */
	public function get_settings( $setting = null ) {

		if ( $setting ) {
			$setting = str_replace( 'elementor_', '', $setting );
		}

		return Plugin::$instance->kits_manager->get_current_settings( $setting );
	}
}
© 2025 GrazzMean-Shell