esc_html( Baltic\Options::get_option( 'products__nav-prev' ) ), 'next_text' => esc_html( Baltic\Options::get_option( 'products__nav-next' ) ), ) ); } elseif( Baltic\Options::get_option( 'products__nav' ) == 'products_pagination' ) { the_posts_pagination( array( 'prev_text' => sprintf( '%s %s', Baltic\Icons::get_svg( [ 'class' => 'icon-stroke', 'icon' => 'arrow-' . esc_html( $prev_arrow ) ] ), __( 'Previous Product', 'baltic' ) ), 'next_text' => sprintf( '%s %s', Baltic\Icons::get_svg( [ 'class' => 'icon-stroke', 'icon' => 'arrow-' . esc_html( $next_arrow ) ] ), __( 'Next Product', 'baltic' ) ), 'before_page_number' => '' . __( 'Page', 'baltic' ) . ' ', ) ); }