' . $tab['sub_title'] . '
';
// content
if (isset( $tab['bucket'] ) ){
$args = array( 'post_type' => 'bucket', 'p' => $tab['bucket'] );
$query = new WP_Query( $args );
while ( $query->have_posts() ){
$query->the_post();
$tabs_content .= spyropress_get_the_content();
}
} else{
$tabs_content .= '
' . do_shortcode( $tab['content'] ) . '
';
}
$tabs_content .= '