en

wpseek.com
A WordPress-centric search engine for devs and theme authors


  |     Browse all


get_page_link [ WordPress Function ]

get_page_link ( $id = false, $leavename = false, $sample = false )
Parameters:
  • int $id Optional. Post ID.
  • bool $leavename Optional, defaults to false. Whether to keep page name.
  • bool $sample Optional, defaults to false. Is it a sample permalink.
Returns:
  • string
Defined at:



Retrieve the permalink for current page or page ID.

Respects page_on_front. Use this one.

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics