Glossary Term
get_page_link()
3 tags
1 category
get_page_link() — Retrieves the permalink for the current page or page ID. Respects page_on_front. Use this one.
Inputs: $post (int|WP_Post): Optional. Post ID or object. Default uses the global $post. $leavename (bool): Optional. Whether to keep the page name. Default false. $sample (bool): Optional. Whether it should be treated as a sample permalink. Default false.
Returns string: The page permalink.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
