Uma área de pesquisa sobre o WordPress para devs e autores do tema



page_link ›

Desde1.5.0
Obsoleton/a
apply_filters( 'page_link', $link, $post->ID, $sample )
Parâmetros: (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
Definido em:
Codex:

Filters the permalink for a page.





Fonte

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