location="result.php";
array( // WPCS: XSS ok.
'base' => $base,
'format' => $format,
'add_args' => false,
//'current' => max( 1, $current ),
'current' => max( 1, get_query_var( 'paged' ) ),
'total' => $total,
'prev_text' => '←',
'next_text' => '→',
'type' => 'list',
'end_size' => 3,
'mid_size' => 3,
)