apply_filters( ‘_get_page_link’, string $link, int $post_id )

In this article

Filters the permalink for a non-page_on_front page.

Parameters

$linkstring
The page’s permalink.
$post_idint
The ID of the page.

Source

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

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.