private function get_links()
    {
        list($min, $max) = $this->get_min_max();
        $output = '';

        if (! empty($min) && ! empty($max) && $this->args['range'] >= 0) {
            for ($i = $min; $i <= $max; $i++) {
                if ($this->current_page == $i) {
                    // output active HTML.
                    $output .= \sprintf($this->args['active_link_wrapper'], $i);
                } else {
                    // output link HTML.
                    $output .= \sprintf(
                        $this->args['link_wrapper'],
                        esc_attr(get_pagenum_link($i)),
                        number_format_i18n($i)
                    );
                }
            }
        }

        return $output;
    }
private function get_links()
    {
        list($min, $max) = $this->get_min_max();
        $output = '';

        if (! empty($min) && ! empty($max) && $this->args['range'] >= 0) {
            for ($i = $min; $i <= $max; $i++) {
                if ($this->current_page == $i) {
                    // output active HTML.
                    $output .= \sprintf($this->args['active_link_wrapper'], $i);
                } else {
                    // output link HTML.
                    $output .= \sprintf(
                        $this->args['link_wrapper'],
                        esc_attr(get_pagenum_link($i)),
                        number_format_i18n($i)
                    );
                }
            }
        }

        return $output;
    }
private function get_links ( ) { list ( $ min , $ max ) = $ this -> get_min_max ( ) ; $ output = '' ; if ( ! empty ( $ min ) && ! empty ( $ max ) && $ this -> args [ 'range' ] >= 0 ) { for ( $ i = $ min ; $ i <= $ max ; $ i ++ ) { if ( $ this -> current_page == $ i ) { // output active HTML. $ output .= \ sprintf ( $ this -> args [ 'active_link_wrapper' ] , $ i ) ; } else { // output link HTML. $ output .= \ sprintf ( $ this -> args [ 'link_wrapper' ] , esc_attr ( get_pagenum_link ( $ i ) ) , number_format_i18n ( $ i ) ) ; } } } return $ output ; }
Create HTML for the pagination links.

@since  1.0.0

@return string
Create HTML for the pagination links .