PATH:
home
/
ediuae
/
agrivaingredients.com
/
wp-content
/
plugins
/
themesflat-addons-for-elementor
<?php namespace Elementor; use Elementor\Core\Files\File_Types\Svg; if(!class_exists('Addon_Elementor_Icon_manager_free')){ class Addon_Elementor_Icon_manager_free extends Icons_Manager { private static function render_svg_icon( $value ) { if ( ! isset( $value['id'] ) ) { return ''; } return Core\Files\Assets\Svg\Svg_Handler::get_inline_svg( $value['id'] ); } private static function render_icon_html( $icon, $attributes = [], $tag = 'i' ) { $icon_types = self::get_icon_manager_tabs(); if ( isset( $icon_types[ $icon['library'] ]['render_callback'] ) && is_callable( $icon_types[ $icon['library'] ]['render_callback'] ) ) { return call_user_func_array( $icon_types[ $icon['library'] ]['render_callback'], [ $icon, $attributes, $tag ] ); } if ( empty( $attributes['class'] ) ) { $attributes['class'] = $icon['value']; } else { if ( is_array( $attributes['class'] ) ) { $attributes['class'][] = $icon['value']; } else { $attributes['class'] .= ' ' . $icon['value']; } } return '<' . $tag . ' ' . Utils::render_html_attributes( $attributes ) . '></' . $tag . '>'; } public static function render_icon( $icon, $attributes = [], $tag = 'i' ) { if ( empty( $icon['library'] ) ) { return false; } $output = ''; // handler SVG Icon if ( 'svg' === $icon['library'] ) { $output = self::render_svg_icon( $icon['value'] ); } else { $output = self::render_icon_html( $icon, $attributes, $tag ); } return $output; } } }
[-] tf-plugin-setup.php
[edit]
[+]
post-format
[-] tf-function.php
[edit]
[+]
..
[-] tf-plugin-option.php
[edit]
[-] license.txt
[edit]
[-] addon-elementor-icon-manager.php
[edit]
[-] themesflat-addons-for-elementor.php
[edit]
[+]
assets
[+]
languages
[-] tf-post-format.php
[edit]
[-] shortcode.php
[edit]
[+]
plugin-option
[+]
widgets
[-] tf-header.php
[edit]
[-] pagination.php
[edit]
[-] tf-footer.php
[edit]
[-] readme.txt
[edit]