A WordPress-centric search engine for devs and theme authors



get_page_link ›

Since2.1.0
Deprecatedn/a
apply_filters( '_get_page_link', $link, $post->ID )
Parameters: (2)
  • (string) $link The page's permalink.
    Required: Yes
  • (int) $post_id The ID of the page.
    Required: Yes
Defined at:
Codex:

Filters the permalink for a non-page_on_front page.





Source

return apply_filters( '_get_page_link', $link, $post->ID );