WordPress Pagination Custom Arrow
echo paginate_links( array(
'base' => str_replace( 999999999, '%#%', esc_url( get_pagenum_link( 999999999 ) ) ),
'total' => $query->max_num_pages,
'current' => max( 1, get_query_var( 'paged' ) ),
'format' => '?paged=%#%',
'show_all' => true,
'type' => 'plain',
'end_size' => 2,
'mid_size' => 1,
'prev_next' => True,
'prev_text' => __('<i class="fas fa-chevron-left"></i>'),
'next_text' => __('<i class="fas fa-chevron-right"></i>'),
'add_args' => false,
'add_fragment' => '',
) );
Dionoh