Server IP : 192.64.112.168 / Your IP : 18.216.167.229 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/plugins/elementskit-lite/modules/elementskit-icon-pack/ |
Upload File : |
<?php namespace ElementsKit_Lite\Modules\ElementsKit_Icon_Pack; defined('ABSPATH') || exit; class Init { public static function get_url() { return \ElementsKit_Lite::module_url() . 'elementskit-icon-pack/'; } public static function get_dir() { return \ElementsKit_Lite::module_dir() . 'elementskit-icon-pack/'; } public function __construct() { add_filter('elementor/icons_manager/additional_tabs', array($this, 'register_icon_pack_to_elementor')); } public function register_icon_pack_to_elementor($font) { $font_new['ekiticons'] = array( 'name' => 'ekiticons', 'label' => esc_html__( 'ElementsKit Icon Pack', 'elementskit-lite' ), 'url' => self::get_url() . 'assets/css/ekiticons.css', 'prefix' => 'icon-', 'displayPrefix' => 'icon', 'labelIcon' => 'icon icon-ekit', 'ver' => \ElementsKit_Lite::version(), 'fetchJson' => self::get_url() . 'assets/js/ekiticons.json', 'native' => true, ); return array_merge($font, $font_new); } }