| Server IP : 54.36.91.62 / Your IP : 216.73.216.15 Web Server : Apache System : Linux webm021.cluster127.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : uxhactp ( 169076) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/uxhactp/www/wp-content/plugins/js_composer/include/classes/shortcodes/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
VcShortcodeAutoloader::getInstance()->includeClass( 'WPBakeryShortCode_VC_Tta_Tabs' );
class WPBakeryShortCode_VC_Tta_Pageable extends WPBakeryShortCode_VC_Tta_Tabs {
public $layout = 'tabs';
public function getTtaContainerClasses() {
$classes = parent::getTtaContainerClasses();
$classes .= ' vc_tta-o-non-responsive';
return $classes;
}
public function getTtaGeneralClasses() {
$classes = parent::getTtaGeneralClasses();
$classes .= ' vc_tta-pageable';
// tabs have pagination on opposite side of tabs. pageable should behave normally
if ( false !== strpos( $classes, 'vc_tta-tabs-position-top' ) ) {
$classes = str_replace( 'vc_tta-tabs-position-top', 'vc_tta-tabs-position-bottom', $classes );
} else {
$classes = str_replace( 'vc_tta-tabs-position-bottom', 'vc_tta-tabs-position-top', $classes );
}
return $classes;
}
/**
* Disable all tabs
*
* @param $atts
* @param $content
*
* @return string
*/
public function getParamTabsList( $atts, $content ) {
return '';
}
}