ID, $tab_id, false);
$active = $active_tab == $tab_id ? ' active border-bottom border-primary border-width-2' : '';
if ($active_tab == $tab_id) {
$active_tab_content = $tab['tab_content_rendered'];
}
$append_hash = apply_filters('uwp_add_tab_content_hashtag', true, $tab, $user);
$head_output .= '
';
$content = ''.esc_html__($tab['tab_name'], 'userswp').'';
$head_output .= aui()->button(array( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
'type' => 'a',
'href' => $append_hash ? esc_url($tab_url).'#tab-content' : esc_url($tab_url),
'class' => 'nav-link',
'icon' => esc_attr($tab['tab_icon']),
'content' => $content, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
));
$head_output .= '';
}
}
if($output === '' || $output=='head'){
?>