apply_filters( 'page_link', string $link, int $post_id, bool $sample )
Filters the permalink for a page.
Parameters
- $link
-
(string) The page's permalink.
- $post_id
-
(int) The ID of the page.
- $sample
-
(bool) Is it a sample permalink.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_link