GlobalView
in package
Table of Contents
- prependBr() : string
- renderPagination() : null
- Display custom pagination for WP_Query
- renderRequiredFieldsTip() : mixed
- _pagination_markup() : string
- Wraps passed links in pagination markup.
Methods
prependBr()
public
static prependBr(string $content) : string
Parameters
- $content : string
Return values
string —renderPagination()
Display custom pagination for WP_Query
public
static renderPagination(WP_Query $wp_query) : null
Parameters
- $wp_query : WP_Query
Return values
null —renderRequiredFieldsTip()
public
static renderRequiredFieldsTip() : mixed
Return values
mixed —_pagination_markup()
Wraps passed links in pagination markup.
protected
static _pagination_markup(string $links[, string $class = '' ][, string $screen_reader_text = '' ]) : string
Parameters
- $links : string
-
Navigational links.
- $class : string = ''
-
Optional. Custom classes string for nav element.
- $screen_reader_text : string = ''
-
Optional. Screen reader text for nav element. Default: ''.
Return values
string —Pagination template tag.