0 )
? ( function_exists( 'mb_substr' ) ? mb_substr( $aha_prev_next_prev_title, 0, $title_len ) : substr( $aha_prev_next_prev_title, 0, $title_len ) )
: $aha_prev_next_prev_title;
$aha_prev_next_prev_price_html = '';
if ( 'product' === get_post_type( $prev_id ) && function_exists( 'wc_get_product' ) ) {
$aha_prev_next_product = wc_get_product( $prev_id );
if ( $aha_prev_next_product ) {
$aha_prev_next_prev_price_html = $aha_prev_next_product->get_price_html();
}
}
?>
0 )
? ( function_exists( 'mb_substr' ) ? mb_substr( $aha_prev_next_next_title, 0, $title_len ) : substr( $aha_prev_next_next_title, 0, $title_len ) )
: $aha_prev_next_next_title;
$aha_prev_next_next_price_html = '';
if ( 'product' === get_post_type( $next_id ) && function_exists( 'wc_get_product' ) ) {
$aha_prev_next_product = wc_get_product( $next_id );
if ( $aha_prev_next_product ) {
$aha_prev_next_next_price_html = $aha_prev_next_product->get_price_html();
}
}
?>