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



page_link › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'page_link', $link, $post->ID, $sample )
Parameters: (3)
  • (string) $link The page's permalink.
    Required: Yes
  • (int) $post_id The ID of the page.
    Required: Yes
  • (bool) $sample Is it a sample permalink.
    Required: Yes
Defined at:
Codex:

Filters the permalink for a page.





Source

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