PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/footcrew.com/public_html/wp-content/plugins/kingcomposer/shortcodes/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/footcrew.com/public_html/wp-content/plugins/kingcomposer/shortcodes/kc_icon.php

<?php

$output = $icon = $class = $icon_wrap_class = $link = $use_link = '';
$has_link = false;
extract( $atts );

$css_class 		= apply_filters( 'kc-el-class', $atts );
$css_class[] 	= 'kc-icon-wrapper';

if ( !empty( $icon_wrap_class ) )
	$css_class[] = $icon_wrap_class;

if( empty( $icon ) )
	$icon = 'fa-leaf';

$class_icon = array( $icon );

if ( !empty( $class ) )
	$class_icon[] = $class;

if( $use_link == 'yes') {
	
	$link     = ( '||' === $link ) ? '' : $link;
	$link     = kc_parse_link( $link );
	$link_att = array();
	
	if ( strlen( $link['url'] ) > 0 ) {
		$has_link = true;
		$a_target = strlen( $link['target'] ) > 0 ? $link['target'] : '_self';
		
		$link_att[] = 'href="' . esc_attr( $link['url'] ) . '"';
		$link_att[] = 'target="' . esc_attr( $a_target ) . '"';
		$link_att[] = 'title="' . esc_attr( $link['title'] ) . '"';
	}
}
?>
<div class="<?php echo esc_attr( implode( " ", $css_class ) ); ?>">
	<?php if( $has_link ) :?>
	<a <?php echo implode(' ', $link_att); ?>>
	<?php endif;?>
	<i class="<?php echo esc_attr( implode( " ", $class_icon ) ) ?>"></i>
	<?php if( $has_link ) :?>
	</a>
	<?php endif;?>
</div>