$53 GRAYBYTE WORDPRESS FILE MANAGER $44

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/home/bravrvjk/growmaxafrica.com/wp-content/plugins/elementor/modules/variables/classes/

HOME
Current File : /home/bravrvjk/growmaxafrica.com/wp-content/plugins/elementor/modules/variables/classes//fonts.php
<?php

namespace Elementor\Modules\Variables\Classes;

use Elementor\Modules\Variables\Services\Variables_Service;
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 {
	private Variables_Service $service;

	public function __construct( Variables_Service $service ) {
		$this->service = $service;
	}

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

		$list_of_variables = $this->service->get_variables_list();

		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;
	}
}


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
css-renderer.php
1.742 KB
30 Mar 2026 1.49 PM
bravrvjk / bravrvjk
0644
fonts.php
0.981 KB
22 Dec 2025 5.25 PM
bravrvjk / bravrvjk
0644
rest-api.php
16.757 KB
2 Feb 2026 2.52 PM
bravrvjk / bravrvjk
0644
size-style-schema.php
2.401 KB
2 Feb 2026 2.52 PM
bravrvjk / bravrvjk
0644
style-schema.php
2.962 KB
2 Feb 2026 2.52 PM
bravrvjk / bravrvjk
0644
style-transformers.php
0.754 KB
5 Aug 2025 6.00 PM
bravrvjk / bravrvjk
0644
variable-types-registry.php
0.547 KB
2 Feb 2026 2.52 PM
bravrvjk / bravrvjk
0644
variables.php
0.506 KB
22 Dec 2025 5.25 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF