_get_page_link
- %1$s is private and should not be used in themes or plugins directly.
_get_page_link ( $post = false, $leavename = false, $sample = false )
Access: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: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieves the page permalink.Ignores page_on_front. Internal use only.