| Server IP : 14.225.204.176 / Your IP : 216.73.216.6 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/fe2tech/wp-content/themes/contio/elementor/core/ |
Upload File : |
<?php
$files = scandir(get_template_directory() . '/elementor/core/register');
foreach ($files as $file){
$pos = strrpos($file, ".php");
if($pos !== false){
require_once get_template_directory() . '/elementor/core/register/' . $file;
}
}
if(!function_exists('contio_register_custom_icon_library')){
add_filter('elementor/icons_manager/native', 'contio_register_custom_icon_library');
function contio_register_custom_icon_library($tabs){
$custom_tabs = [
'extra_icon1' => [
'name' => 'material',
'label' => esc_html__( 'Material Design Iconic', 'contio' ),
'url' => get_template_directory_uri() . '/assets/css/material-design-iconic-font.min.css',
'enqueue' => [ ],
'prefix' => 'zmdi zmdi-',
'displayPrefix' => 'material',
'labelIcon' => 'zmdi zmdi-collection-text',
'ver' => '1.0.0',
'fetchJson' => get_template_directory_uri() . '/assets/elementor-icon/materialdesign.js',
'native' => true,
],
'extra_icon2' => [
'name' => 'flaticon',
'label' => esc_html__( 'Flaticon', 'contio' ),
'url' => get_template_directory_uri() . '/assets/css/flaticon.css',
'enqueue' => [ ],
'prefix' => 'flaticon-',
'displayPrefix' => 'flaticon',
'labelIcon' => 'flaticon-project',
'ver' => '1.0.0',
'fetchJson' => get_template_directory_uri() . '/assets/elementor-icon/flaticon.js',
'native' => true,
],
];
$tabs = array_merge($custom_tabs, $tabs);
return $tabs;
}
}