Timber

You are reading the documentation for Timber v1.x. Switch to the documentation for Timber v2.x.

Timber\Pagination

Overview #

Methods #

NameTypeReturns/Description
get_paginationarraymixed

Class Methods #

__construct #

__construct( array $prefs=array(), mixed $wp_query=null )

returns: void

NameTypeDescription
$prefsarray
$wp_querymixed

get_pagination #

get_pagination( array $prefs=array() )

returns: array mixed

Get pagination.

NameTypeDescription
$prefsarray

paginate_links( array $args=array() )

returns: array

NameTypeDescription
$argsarray

init #

init( array $prefs=array(), mixed $wp_query=null )

returns: void

NameTypeDescription
$prefsarray
$wp_querymixed

sanitize_args #

sanitize_args( mixed $args )

returns: void

NameTypeDescription
$argsmixed

sanitize_url_params #

sanitize_url_params( mixed $add_args )

returns: void

NameTypeDescription
$add_argsmixed