Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/store.cartinsight.co/wp-content/themes/woodmart/header-elements/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/store.cartinsight.co/wp-content/themes/woodmart/header-elements/info-box.php
<?php
woodmart_enqueue_inline_style( 'header-elements-base' );
$params['source'] = 'header';

if ( isset( $id ) ) {
	$params['wrapper_classes'] = ' whb-' . $id;
}

foreach ( array( 'image', 'bg_image_box', 'bg_hover_image' ) as $key ) {
	if ( isset( $params[ $key ]['id'] ) ) {
		$params[ $key ] = $params[ $key ]['id'];
	}
}

if ( ! empty( $params['link']['url'] ) ) {
	$link_attrs = 'url:' . rawurlencode( $params['link']['url'] );

	if ( ! empty( $params['link']['blank'] ) ) {
		$link_attrs .= '|target:_blank';
	}

	$params['link'] = $link_attrs;
}

// Remove value for control with css generators.
$params['bg_hover_color']           = '';
$params['icon_text_color']          = '';
$params['icon_bg_color']            = '';
$params['icon_bg_hover_color']      = '';
$params['icon_border_color']        = '';
$params['icon_border_hover_color']  = '';
$params['icon_text_color']          = '';
$params['subtitle_font_weight']     = '';
$params['subtitle_custom_bg_color'] = '';
$params['subtitle_custom_color']    = '';
$params['title_color']              = '';
$params['title_font_weight']        = '';
$params['custom_text_color']        = '';

echo woodmart_shortcode_info_box( $params, $params['content'] );

Spamworldpro Mini