SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > elementor > modules > variables > classes


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/elementor/modules/variables/classes

NameTypeSizeLast ModifiedActions
css-renderer.php File 1442 bytes July 30 2025 18:59:04.
fonts.php File 807 bytes July 30 2025 18:59:04.
rest-api.php File 9794 bytes July 30 2025 18:59:04.
style-schema.php File 2677 bytes July 30 2025 18:59:04.
style-transformers.php File 761 bytes July 30 2025 18:59:04.
variables.php File 3901 bytes July 30 2025 18:59:04.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/elementor/modules/variables/classes/fonts.php

<?php

namespace Elementor\Modules\Variables\Classes;

use Elementor\Plugin;
use Elementor\Core\Files\CSS\Post as Post_CSS;
use Elementor\Modules\Variables\PropTypes\Font_Variable_Prop_Type;

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

class Fonts {
	public function append_to( Post_CSS $post_css ) {
		if ( ! Plugin::$instance->kits_manager->is_kit( $post_css->get_post_id() ) ) {
			return;
		}

		$list_of_variables = ( new Variables() )->get_all();

		foreach ( $list_of_variables as $variable ) {
			if ( Font_Variable_Prop_Type::get_key() !== $variable['type'] ) {
				continue;
			}

			$font_family = sanitize_text_field( $variable['value'] ?? '' );

			if ( empty( $font_family ) ) {
				continue;
			}

			$post_css->add_font( $font_family );
		}

		return $this;
	}
}

SILENT KILLER Tool