get_pagenum_link


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

Parameters:
  • (int) pagenum Optional. Page number. Default 1.
  • (bool) escape Optional. Whether to escape the URL for display, with esc_url(). If set to false, prepares the URL with sanitize_url(). Default true.
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