Server IP : 192.64.112.168 / Your IP : 18.116.88.132 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 Icons { public function __construct() { add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_frontend' ) ); add_filter( 'elementor/icons_manager/additional_tabs', array( $this, 'add_font' ) ); } public function enqueue_frontend() { wp_enqueue_style( 'elementor-icons-ekiticons', Init::get_url() . 'assets/css/ekiticons.css', array(), \ElementsKit_Lite::version() ); } public function add_font( $font ) { $font_new['ekiticons'] = array( 'name' => 'ekiticons', 'label' => esc_html__( 'ElementsKit Icon Pack', 'elementskit-lite' ), 'url' => Init::get_url() . 'assets/css/ekiticons.css', 'prefix' => 'icon-', 'displayPrefix' => 'icon', 'labelIcon' => 'icon icon-ekit', 'ver' => \ElementsKit_Lite::version(), 'fetchJson' => Init::get_url() . 'assets/js/ekiticons.json', 'native' => true, ); return array_merge( $font, $font_new ); } }