| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.3/wp-content/plugins/Ultimate_VC_Addons/vc_templates/ |
Upload File : |
<?php
/**
* Single Tab file.
*
* @package Single Tab.
*/
$output = '';
$ult_title = '';
$tab_id = '';
$font_icons_position = '';
$icon_type = '';
$icon = '';
$icon_color = '';
$icon_hover_color = '';
$icon_size = '';
$icon_background_color = '';
$icon_margin_bottom = '';
$icon_margin_left = '';
extract( shortcode_atts( $this->predefined_atts, $atts ) ); //phpcs:ignore WordPress.PHP.DontExtract.extract_extract
global $uavc_tabarr;
$uavc_tabarr[] = array(
'title' => $ult_title,
'tab_id' => $tab_id,
'font_icons_position' => $font_icons_position,
'icon_type' => $icon_type,
'icon' => $icon,
'icon_color' => $icon_color,
'icon_hover_color' => $icon_hover_color,
'icon_size' => $icon_size,
'content' => $content,
'icon_margin' => $icon_margin,
);
if ( current_user_can( 'editor' ) || current_user_can( 'administrator' ) ) {
$admn = __( 'Empty tab. Edit page to add content here.', 'js_composer' );
} else {
$admn = '';
}
$tabcont = wpb_js_remove_wpautop( $content );
$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, 'wpb_tab ui-tabs-panel wpb_ui-tabs-hide vc_clearfix ult_back', $this->settings['base'], $atts );
$output .= "\n\t\t\t" . '<div class="ult_tabitemname" >';
$output .= ( '' == $content || ' ' == $content ) ? esc_html( $admn ) : "\n\t\t\t\t" . wpb_js_remove_wpautop( $content );
$output .= "\n\t\t\t" . '</div> ';
return $output;