' . esc_html( $tab_title ) . '' ) : '' ), $tab_name );
if ( ! empty( $tab_block ) ) {
alpha_print_template( $tab_block );
}
}
if ( 'alpha_custom_tab_1st' == $tab_name ) {
$tab_title = get_post_meta( get_the_ID(), 'alpha_custom_tab_title_1st', true );
if ( $tab_title ) {
$tab_content = get_post_meta( get_the_ID(), 'alpha_custom_tab_content_1st', true );
echo '
' . esc_html( $tab_title ) . '
';
echo alpha_strip_script_tags( $tab_content );
}
} elseif ( 'alpha_custom_tab_2nd' == $tab_name ) {
$tab_title = get_post_meta( get_the_ID(), 'alpha_custom_tab_title_2nd', true );
if ( $tab_title ) {
$tab_content = get_post_meta( get_the_ID(), 'alpha_custom_tab_content_2nd', true );
echo '' . esc_html( $tab_title ) . '
';
echo alpha_strip_script_tags( $tab_content );
}
} elseif ( 'alpha_pa_block_' == substr( $tab_name, 0, strlen( 'alpha_pa_block_' ) ) && ! empty( $tab_data['block_id'] ) ) {
alpha_print_template( absint( $tab_data['block_id'] ) );
}
}