_get_page_link


_get_page_link ( $post = false, $leavename = false, $sample = false )

Access:
  • private
Parameters:
  • (int|WP_Post) post Optional. Post ID or object. Default uses the global `$post`.
  • (bool) leavename Optional. Whether to keep the page name. Default false.
  • (bool) sample Optional. Whether it should be treated as a sample permalink. Default false.
Returns:
  • (string) The page permalink.
Defined at:

Description

Retrieves the page permalink.Ignores page_on_front. Internal use only.

Related Functions

get_page_link, get_pagenum_link, get_tag_link, get_tag_feed_link, get_page_uri

Top Google Results

User discussions

wpseek mobile