Timber\Pagination
Overview #
Methods #
Name | Type | Returns/Description |
---|---|---|
get_pagination | array | mixed |
Class Methods #
__construct #
__construct( array $prefs=array(), mixed $wp_query=null )
returns: void
Name | Type | Description |
---|---|---|
$prefs | array | |
$wp_query | mixed |
get_pagination #
get_pagination( array $prefs=array() )
returns: array
mixed
Get pagination.
Name | Type | Description |
---|---|---|
$prefs | array |
paginate_links #
paginate_links( array $args=array() )
returns: array
Name | Type | Description |
---|---|---|
$args | array |
init #
init( array $prefs=array(), mixed $wp_query=null )
returns: void
Name | Type | Description |
---|---|---|
$prefs | array | |
$wp_query | mixed |
sanitize_args #
sanitize_args( mixed $args )
returns: void
Name | Type | Description |
---|---|---|
$args | mixed |
sanitize_url_params #
sanitize_url_params( mixed $add_args )
returns: void
Name | Type | Description |
---|---|---|
$add_args | mixed |