private function get_min_max()
    {
        if ($this->page_count > $this->args['range']) {
            if ($this->current_page <= $this->args['range']) {
                return [
                    1,
                    $this->args['range'] + 1,
                ];
            }

            if ($this->current_page >= ($this->page_count - $this->args['ceil'])) {
                return [
                    $this->page_count - $this->args['range'],
                    $this->page_count,
                ];
            }

            if ($this->current_page >= $this->args['range']
                && $this->current_page < ($this->page_count - $this->args['ceil'])
            ) {
                 return [
                     $this->current_page - $this->args['ceil'],
                     $this->current_page + $this->args['ceil'],
                 ];
            }
        }

        return [1, $this->page_count];
    }
private function get_min_max()
    {
        if ($this->page_count > $this->args['range']) {
            if ($this->current_page <= $this->args['range']) {
                return [
                    1,
                    $this->args['range'] + 1,
                ];
            }

            if ($this->current_page >= ($this->page_count - $this->args['ceil'])) {
                return [
                    $this->page_count - $this->args['range'],
                    $this->page_count,
                ];
            }

            if ($this->current_page >= $this->args['range']
                && $this->current_page < ($this->page_count - $this->args['ceil'])
            ) {
                 return [
                     $this->current_page - $this->args['ceil'],
                     $this->current_page + $this->args['ceil'],
                 ];
            }
        }

        return [1, $this->page_count];
    }
private function get_min_max ( ) { if ( $ this -> page_count > $ this -> args [ 'range' ] ) { if ( $ this -> current_page <= $ this -> args [ 'range' ] ) { return [ 1 , $ this -> args [ 'range' ] + 1 , ] ; } if ( $ this -> current_page >= ( $ this -> page_count - $ this -> args [ 'ceil' ] ) ) { return [ $ this -> page_count - $ this -> args [ 'range' ] , $ this -> page_count , ] ; } if ( $ this -> current_page >= $ this -> args [ 'range' ] && $ this -> current_page < ( $ this -> page_count - $ this -> args [ 'ceil' ] ) ) { return [ $ this -> current_page - $ this -> args [ 'ceil' ] , $ this -> current_page + $ this -> args [ 'ceil' ] , ] ; } } return [ 1 , $ this -> page_count ] ; }
Returns the min and max ranges used when calculating the page links.

@since  1.0.0

@return array [$min, $max]
Returns the min and max ranges used when calculating the page links .