Timber\Pagination
Overview #
Methods #
| Name | Return Type | Summary/Returns |
|---|---|---|
| __construct() | Pagination constructor. | |
| get_pagination() | array | Get pagination. Returns: mixed |
Class Methods #
__construct() #
Pagination constructor.
__construct( array $prefs = [], \WP_Query|null $wp_query = null )
| Name | Type | Description |
|---|---|---|
| $prefs | array | |
| $wp_query | \WP_Query or null |
get_pagination() #
Get pagination.
get_pagination( array $prefs = [] )
Returns: array mixed
| Name | Type | Description |
|---|---|---|
| $prefs | array |