HEX
Server: Apache
System: Linux web15f49.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: hzaluminio (728004)
PHP: 7.0.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/hzaluminio/www/wp-content/plugins/Ebor-Framework-master/shortcodes/elemis-shortcodes.php
<?php 

if(!( function_exists('ebor_tooltip') )){
	function ebor_tooltip( $atts, $content = null ) {
		extract(shortcode_atts(array(
			'location' => 'top',
			'title' => 'Tooltip on top',
			'link' => '#'
		), $atts));	
		
		return '<a href="'. esc_url($link) .'" title="'. $title .'" data-rel="tooltip" data-placement="' . $location . '">' . $content . '</a>';
	}
	add_shortcode('tooltip', 'ebor_tooltip');
}

if(!( function_exists('ebor_button') )){
	//Button [button link='google.com' size='large' color='blue' target='blank']Link Text[/button]
	function ebor_button( $atts, $content = null ) {
		extract(shortcode_atts(array(
			'link' => '',
			'size' => '',
			'color' => 'green',
			'target' => ''
		), $atts));
		if($size == 'large') $size = 'btn-large';
		if($target == 'blank') $target = 'target="_blank"';
	    return '<a href="' . esc_url($link) . '" '.$target.' class="btn '.$size.' btn-'.$color.'">' . htmlspecialchars_decode($content) . '</a>';
	}
	add_shortcode('button', 'ebor_button');
}

if(!( function_exists('ebor_dropcap') )){
	//DROPCAP [dropcap]Content[/dropcap]
	function ebor_dropcap( $atts, $content = null ) {
	   return '<span class="dropcap">' . do_shortcode($content) . '</span>';
	}
	add_shortcode('dropcap', 'ebor_dropcap');
}

if(!( function_exists('ebor_blockquote') )){
	//BLOCKQUOTE [blockquote author='John Doe']Content[/blockquote]
	function ebor_blockquote( $atts, $content = null ) {
		extract(shortcode_atts(array(
			'author' => ''
		), $atts));
	   return '<blockquote>' . do_shortcode($content) . '<small>'.$author.'</small></blockquote>';
	}
	add_shortcode('blockquote', 'ebor_blockquote');
}