get_pagenum_link


get_pagenum_link ( $pagenum = 1, $escape = true )

Parameters:
  • (int) $pagenum Optional. Page ID. Default 1.
  • (bool) $escape Optional. Whether to escape the URL for display, with esc_url(). Defaults to true. Otherwise, prepares the URL with esc_url_raw().
Returns:
  • (string) The link URL for the given page number.
Defined at:

Description

Retrieves the link for a page number.

Related Functions

get_page_link, _get_page_link, get_tag_link, get_comments_pagenum_link, get_permalink

Top Google Results

User discussions

wpseek mobile